summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/e2e_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/e2e_test.go b/test/e2e_test.go
index c25a4f82..14648ecc 100644
--- a/test/e2e_test.go
+++ b/test/e2e_test.go
@@ -44,6 +44,11 @@ func TestHelloWorld(t *testing.T) {
action := x.Must(page.Locator("#idp-form").GetAttribute("action"))
assert.Equal(t, "http://idp.example.com:8080/saml/new", action)
assert.NoError(t, page.Locator("#submit-button").Click())
+
+ action = x.Must(page.Locator("#postback-form").GetAttribute("action"))
+ assert.Equal(t, "http://ui.example.com:8080/saml/assertions", action)
+ assert.NoError(t, page.Locator("#submit-button").Click())
+ assert.Contains(t, x.Must(page.Content()), "Received SAML Response")
})
})
})