mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 06:13:22 -07:00
fixed tests
This commit is contained in:
parent
87fbf2c193
commit
5dfa123dcb
3 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://on.cypress.io/cypress.schema.json",
|
||||
"supportFile": "cypress/support/index.ts",
|
||||
"baseUrl": "http://localhost:5000",
|
||||
"baseUrl": "http://localhost:3577",
|
||||
"integrationFolder": "cypress/tests",
|
||||
"testFiles": "**/*.spec.ts*",
|
||||
"watchForFileChanges": true,
|
||||
|
|
|
@ -12,8 +12,8 @@ const langs = [
|
|||
];
|
||||
|
||||
langs.forEach((l) => {
|
||||
it(`Change language to ${l.code}, UI should update`, () => {
|
||||
cy.intercept('POST','/language').as('langSave');
|
||||
it.only(`Change language to ${l.code}, UI should update`, () => {
|
||||
cy.intercept('POST','**/language').as('langSave');
|
||||
Page.visit();
|
||||
|
||||
Page.profile.languageSelectBox.click();
|
||||
|
|
|
@ -28,7 +28,7 @@ describe('User Management Page', () => {
|
|||
// Setup the form
|
||||
cy.get('#username').type(username);
|
||||
cy.get('#alias').type("alias1");
|
||||
cy.get('#emailAddress').type(username + "@emailaddress.com");
|
||||
cy.get('#emailAddress').type(username + "@emailaddress.com", { force: true });
|
||||
cy.get('#password').type("password");
|
||||
cy.get('#confirmPass').type("password");
|
||||
|
||||
|
@ -54,7 +54,7 @@ describe('User Management Page', () => {
|
|||
// Setup the form
|
||||
cy.get('#username').type("user1");
|
||||
cy.get('#alias').type("alias1");
|
||||
cy.get('#emailAddress').type("user1@emailaddress.com");
|
||||
cy.get('#emailAddress').type("user1@emailaddress.com", { force: true });
|
||||
cy.get('#password').type("password");
|
||||
cy.get('#confirmPass').type("password");
|
||||
|
||||
|
@ -72,7 +72,7 @@ describe('User Management Page', () => {
|
|||
// Setup the form
|
||||
cy.get('#username').type("user1");
|
||||
cy.get('#alias').type("alias1");
|
||||
cy.get('#emailAddress').type("user1@emailaddress.com");
|
||||
cy.get('#emailAddress').type("user1@emailaddress.com", { force: true });
|
||||
cy.get('#password').type("password");
|
||||
cy.get('#confirmPass').type("pass22word");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue