Skip to content

Commit

Permalink
test: update port number
Browse files Browse the repository at this point in the history
  • Loading branch information
PraveenAsokan committed Nov 18, 2024
1 parent 0c8968e commit 26df012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/support/functions/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import {inputElement,formElement} from '../web_elements';

Cypress.Commands.add('launchComponent',(componentName,type) => {
const baseUrl = `http://localhost:8001/iframe.html?id=${componentName}--${type}&viewMode=story`;
const baseUrl = `http://localhost:8000/iframe.html?id=${componentName}--${type}&viewMode=story`;
cy.visit(baseUrl);
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test:cypress:component": "start-server-and-test 'npm run dev --no-open' 8000 'npm run cypress -- run --browser chrome --spec \"cypress/e2e/component_tests/*.feature\" --env allure=true || echo \"The previous command has some errors..Continuing\"'",
"test:cypress:ember": "start-server-and-test 'npm run open:ember' 4200 'npm run cypress -- run --browser chrome --spec \"cypress/e2e/example_app_tests/*.feature\" --env allure=true || echo \"The previous command has some errors..Continuing\"'",
"test:cypress:local": "rm -rf allure-report allure-results && npm run test:cypress:component && npm run test:cypress:ember && npm run test:allure:report",
"test:cypress:browserstack": "start-server-and-test 'npm run dev --no-open' 8001 'npm run open:ember' 4200 'browserstack-cypress run'",
"test:cypress:browserstack": "start-server-and-test 'npm run dev --no-open' 8000 'npm run open:ember' 4200 'browserstack-cypress run'",
"test:allure:report": "allure generate --single-file allure-results --clean -o allure-report && allure open allure-report",
"test:cypress:tag": "start-server-and-test 'npm run dev --no-open' 8000 'npm run open:ember' 4200 './node_modules/.bin/cypress-tags run -e TAGS=\"@form\" --browser chrome'",
"test:percy": "start-server-and-test 'npm run dev --no-open' 8000 'percy storybook http://localhost:8000'",
Expand Down

0 comments on commit 26df012

Please sign in to comment.