forked from estruyf/doctor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
estruyf#89 - Documentation and enhancements
- Loading branch information
Showing
6 changed files
with
104 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/// <reference types="cypress" /> | ||
/// <reference types="../support" /> | ||
|
||
describe('Multilingual validation', function() { | ||
const PAGE_URL = "sitepages/doctor/nl/page-creation.aspx"; | ||
|
||
/** | ||
* Before visiting SharePoint, we first need to authenticate | ||
*/ | ||
before(() => { | ||
cy.visitSP(PAGE_URL); | ||
}); | ||
|
||
after(() => { | ||
cy.screenshot(); | ||
}); | ||
|
||
it('1. Check if language selector is available on the page', () => { | ||
cy.get(`[data-automation-id="LanguageSelector"]`).should('exist').should("contain.text", "Dutch"); | ||
}); | ||
|
||
it('2. Check if the page contains the right language contents', () => { | ||
cy.get(`h2#page-creation`).should('exist'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters