Add read content from game but need change index

This commit is contained in:
Annie Huang committed 2023-10-30 15:00:30 +08:00
1 parent 1eaa448685
commit fd8433d9f9
3 files changed
+219 -23

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
import '@testing-library/cypress/add-commands'
Cypress.Commands.add('Login', () => {
Cypress.Commands.add('LoginWithPassword', () => {
cy.clearAllCookies()
cy.get('a.text-text-primary').should('contain', 'Log in').click()
cy.get('#username').type('alex')
cy.get('#password').type('123456')