Skip to content

Commit

Permalink
enable system tests in CI (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieomaguire authored Oct 17, 2024
1 parent e753385 commit 82196f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci-nuxtjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,9 @@ jobs:
shell: bash
run: yarn test:ssr --filter=nuxt-app

# TODO - fix this test in DSW-2157
# - name: Run System Tests
# shell: bash
# run: yarn test:system --filter=nuxt-app
- name: Run System Tests
shell: bash
run: yarn test:system --filter=nuxt-app

- uses: actions/upload-artifact@v3
if: always()
Expand Down
4 changes: 2 additions & 2 deletions nuxt-app/pages/integrations/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
</pie-text-input>

<pie-form-label for="description">
Description:
Description:
</pie-form-label>
<pie-textarea
:value="description"
Expand Down Expand Up @@ -197,7 +197,7 @@ import '@justeattakeaway/pie-icons-webc/dist/IconNumberSymbol.js';
import '@justeattakeaway/pie-icons-webc/dist/IconKey.js';
definePageMeta({
title: 'PIE Form Test Page',
title: 'PIE Form Test Page',
});
const username = ref('');
Expand Down
2 changes: 1 addition & 1 deletion test/playwright/page-objects/form.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export class FormPage {
await this.approveSettingsSwitch.click();
await this.enableNotificationsSwitch.click();
await this.newsletterSignupCheckbox.click();
await this.radioButton2.click();
await this.contactByEmailCheckbox.click();
await this.contactByPhoneCheckbox.click();
await this.radioButton2.click();
}

async submitForm() {
Expand Down

0 comments on commit 82196f5

Please sign in to comment.