Skip to content

Commit

Permalink
renomeando page para page Objects e removendo TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
feroline committed Jul 16, 2024
1 parent 60a06bf commit d65273c
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/elements/apresentacao.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import HomePage from '../../pages/home/HomePage';
import HomePage from '../../pagesObjects/home/HomePage';
import ElementsLink from '../../support/Enum/links/Elements';
const Home = new HomePage();

Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/elements/checkBox.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import HomePage from '../../pages/home/HomePage';
import HomePage from '../../pagesObjects/home/HomePage';
import ElementsLink from '../../support/Enum/links/Elements';
import CheckBoxPage from '../../pages/checkBox/CheckBoxPage';
import CheckBoxPage from '../../pagesObjects/checkBox/CheckBoxPage';
import CheckBoxText from '../../support/Enum/CheckBoxText';

const Home = new HomePage();
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/elements/radioButton.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import HomePage from '../../pages/home/HomePage';
import HomePage from '../../pagesObjects/home/HomePage';
import ElementsLink from '../../support/Enum/links/Elements';
import RadioButtonPage from '../../pages/radioButton/RadioBtnPage';
import RadioButtonPage from '../../pagesObjects/radioButton/RadioBtnPage';

const Home = new HomePage();
const RadioButton = new RadioButtonPage();
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/elements/textBox.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import HomePage from '../../pages/home/HomePage';
import TextBoxPage from '../../pages/textBox/TextBoxPage';
import HomePage from '../../pagesObjects/home/HomePage';
import TextBoxPage from '../../pagesObjects/textBox/TextBoxPage';
import ElementsLink from '../../support/Enum/links/Elements';

const Home = new HomePage();
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/home.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import HomePage from '../pages/home/HomePage';
import HomePage from '../pagesObjects/home/HomePage';
import HomeLinks from '../support/Enum/links/Home';

const Home = new HomePage();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion cypress/support/Types/CheckBoxNode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//TODO excluir essa tipagem e colocar em um enum as strings, simplificando a chamada e verificação
type CheckBoxNode =
| 'home'
| 'desktop'
Expand Down
1 change: 0 additions & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Cypress.Commands.add('verificaMensagemInicial', () => {
.should('be.visible');
});

//TODO : SIMPLIFICAR CHAMADA e adicionar info de que pode não funcionar bem no
Cypress.Commands.add('visitarToolsQA', () => {
cy.visit('/', { failOnStatusCode: false });
Cypress.on('uncaught:exception', (err, runnable) => {
Expand Down

0 comments on commit d65273c

Please sign in to comment.