refactor: remove default browser setting and update test case to run normally
gitea/salix-front/pipeline/pr-test This commit looks good
Details
gitea/salix-front/pipeline/pr-test This commit looks good
Details
This commit is contained in:
parent
399437d334
commit
73eab5baa4
|
@ -5,7 +5,6 @@ import { defineConfig } from 'cypress';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
e2e: {
|
e2e: {
|
||||||
defaultBrowser: 'chromium',
|
|
||||||
baseUrl: 'http://localhost:9000/',
|
baseUrl: 'http://localhost:9000/',
|
||||||
experimentalStudio: true,
|
experimentalStudio: true,
|
||||||
fixturesFolder: 'test/cypress/fixtures',
|
fixturesFolder: 'test/cypress/fixtures',
|
||||||
|
|
|
@ -168,7 +168,7 @@ describe('TicketSale', () => {
|
||||||
.should('have.text', `${discount}.00%`);
|
.should('have.text', `${discount}.00%`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it.only('change concept', () => {
|
it('change concept', () => {
|
||||||
const concept = Math.floor(Math.random() * 100) + 1;
|
const concept = Math.floor(Math.random() * 100) + 1;
|
||||||
cy.waitForElement(firstRow);
|
cy.waitForElement(firstRow);
|
||||||
cy.get('[data-col-field="item"]').click();
|
cy.get('[data-col-field="item"]').click();
|
||||||
|
|
Loading…
Reference in New Issue