Skip to content

Commit

Permalink
fix: e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sashko9807 committed Oct 9, 2024
1 parent 304ea5b commit 3aa544d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/tests/regression/campaign-flow/campaign-view.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test.describe.serial(
})

test('Particular campaign can be opened through the Campaign page', async () => {
await headerPage.changeLanguageToBe(LanguagesEnum.EN)
await headerPage.clickDonateHeaderNavButton(LanguagesEnum.BG)
await campaignsPage.clickCampaignCardByIndex(0)

expect(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test.describe.serial(
})

test('Particular campaign can be opened through the Campaign page', async () => {
await headerPage.clickDonateHeaderNavButton()
await headerPage.clickDonateHeaderNavButton(LanguagesEnum.BG)
await campaignsPage.clickCampaignCardByIndex(0)
// We move from the common Campaigns page to the particular campain page
// check if the url is changed only based on the url pattern http://localhost:3040/campaigns/{slug-based-regexp}
Expand Down

0 comments on commit 3aa544d

Please sign in to comment.