Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit d66b8b4

Browse files
authored
Merge pull request #22 from davidnixon/test-add-i18n
test: add i18n test to PR
2 parents 70800fd + 9d5fbd5 commit d66b8b4

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/pr-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [main]
66

77
jobs:
8-
test:
8+
build:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout

cypress/e2e/i18n.cy.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
describe('i18n test', () => {
2+
it('should have i18n content', () => {
3+
cy.viewport('macbook-13')
4+
cy.visit('/')
5+
6+
cy.get('#header-menu-button-language').click()
7+
cy.get('[data-cy="language-fr"]').click()
8+
cy.contains('Bienvenue Carbon Nuxt')
9+
cy.contains('Connectez-vous pour voir des informations intéressantes')
10+
cy.contains('Connectez-vous avec MockId')
11+
})
12+
})

0 commit comments

Comments
 (0)