We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f7825 commit 05c7c9dCopy full SHA for 05c7c9d
src/test/robotframework/site/csp/report-logic.robot
@@ -0,0 +1,20 @@
1
+*** Settings ***
2
+Documentation Verify site csp report scenario
3
+Library String
4
+Library SeleniumLibrary
5
+Library HttpRequestLibrary
6
+Resource ../../auth.steps.robot
7
+Suite Setup Before Test Suite
8
+Suite Teardown Close Browser
9
+Force Tags site csp logic testme
10
+
11
+*** Test Cases ***
12
+Validate site csp report request is accepted
13
+ Create Session httpbin ${SITE_URL}
14
+ Set Test Variable ${data} ""
15
+ ${resp}= Post Request httpbin /site/csp/reports data=${data}
16
+ Should Be Equal As Strings ${resp.status_code} 201
17
18
+*** Keywords ***
19
+Before Test Suite
20
+ Register Keyword To Run On Failure Log Source
0 commit comments