dont test before publish

This commit is contained in:
Vitaly 2023-09-04 12:21:22 +03:00
commit d1e658adee
2 changed files with 10 additions and 10 deletions

View file

@ -13,15 +13,15 @@ jobs:
run: npm i -g pnpm
- run: pnpm install
- run: pnpm build
- uses: cypress-io/github-action@v5
with:
install: false
start: pnpm prod-start
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-images
path: cypress/integration/__image_snapshots__/
# - uses: cypress-io/github-action@v5
# with:
# install: false
# start: pnpm prod-start
# - uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: cypress-images
# path: cypress/integration/__image_snapshots__/
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -20,7 +20,7 @@ it('Loads & renders singleplayer', () => {
// todo replace with data-test
cy.get('#title-screen').find('.menu > div:nth-child(2) > pmui-button:nth-child(1)', { includeShadowDom: true, }).click()
// todo implement load event
cy.wait(8000)
cy.wait(12000)
//@ts-ignore
cy.get('body').toMatchImageSnapshot({
// imageConfig: {