Skip to content

Commit fc544d6

Browse files
authored
Playwright wait for footer on success page (#1024)
1 parent d373244 commit fc544d6

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading

tests/playwright/pages/CheckoutPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class CheckoutPage {
126126
await this.success()
127127

128128
if (screenshots.includes('success')) {
129-
await new BasePage(this.page).screenshot('fullpage')
129+
await new BasePage(this.page).screenshot('fullpage-footer')
130130
}
131131
}
132132

@@ -153,7 +153,7 @@ export class CheckoutPage {
153153
await this.success()
154154

155155
if (screenshots.includes('success')) {
156-
await new BasePage(this.page).screenshot('fullpage')
156+
await new BasePage(this.page).screenshot('fullpage-footer')
157157
}
158158
}
159159
}

0 commit comments

Comments
 (0)