Skip to content

Commit

Permalink
Update SPGDPRExampleAppUITests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilveirah committed Jan 25, 2024
1 parent 069e604 commit a2e6d6f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Example/SPGDPRExampleAppUITests/SPGDPRExampleAppUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,12 @@ class SPGDPRExampleAppUITests: QuickSpec {
}

it("Accept all through 2nd layer") {
self.app.relaunch(clean: true, resetAtt: true, args: ["att": false])
self.app.relaunch(clean: true, resetAtt: true, args: [
"att": false,
"ccpa": false
])
self.showGDPRPMViaFirstLayerMessage()
self.app.gdprPM.acceptAllButton.tap()
self.acceptCCPAMessage()
expect(self.app.gdprPrivacyManagerButton).toEventually(showUp())
expect(self.app.sdkStatusLabel).toEventually(containText("Finished"))
self.app.relaunch()
expect(self.app.sdkStatusLabel).toEventually(containText("Finished"))
Expand Down

0 comments on commit a2e6d6f

Please sign in to comment.