Skip to content

Commit

Permalink
Merge pull request #1 from norgeindian/patch-2
Browse files Browse the repository at this point in the history
Remove legacy code
  • Loading branch information
norgeindian authored Oct 11, 2023
2 parents f3a8965 + a5fc999 commit f0d1519
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const {tagify} = require('cypress-tags');
const fs = require('fs');
const envConfig = fs.existsSync('./cypress.env.json') ? require('./cypress.env.json') : {};

// Run "NODE_ENV=develop; npx cypress run" to run tests locally
// Run "NODE_ENV=develop npx cypress run" to run tests locally
const defaultBaseUrl = process.env.NODE_ENV === 'develop' ? 'http://cypress.magento2.localhost' : 'https://example.com/';

// Sometimes our local envs are slow due to dev mode. Raising the timeout decreases flakiness
Expand Down
5 changes: 0 additions & 5 deletions cypress/integration/luma/user/account.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ describe('Account activities', () => {
Magento2RestApi.createCustomerAccount(account.customer)
Account.login(account.customer.customer.email, account.customer.password)
Account.createAddress(account.customerInfo)
// We need to logout or the beforeEach will fail
if(isMobile()) {
cy.wait(2000)
}
cy.wait(2500)
})

after(() => {
Expand Down

0 comments on commit f0d1519

Please sign in to comment.