diff --git a/.github/workflows/slow-probe.yml b/.github/workflows/slow-probe.yml new file mode 100644 index 0000000..1eca5c8 --- /dev/null +++ b/.github/workflows/slow-probe.yml @@ -0,0 +1,25 @@ +name: slow specs probe +on: + push: + branches: [slow-specs-probe] +jobs: + slow: + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + - name: start dev node + run: | + docker run -d --name node -p 30333:9944 pezkuwi/bizinikiwi@sha256:130e8ddd1ec36b00422fcfe565fb596d6a81889e3aeb5f45d13bd92993d09a19 --dev --rpc-external --rpc-cors all + for i in $(seq 1 60); do + curl -sf -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"system_version"}' http://127.0.0.1:30333 && break + sleep 2 + done + echo; docker logs node 2>&1 | tail -5 + - run: corepack enable && yarn install --immutable + - run: yarn test:one .slow. + - if: always() + run: docker logs node 2>&1 | tail -40 diff --git a/packages/page-accounts/src/CreateAccount.slow.spec.tsx b/packages/page-accounts/src/CreateAccount.slow.spec.tsx index 86ff637..10fd15c 100644 --- a/packages/page-accounts/src/CreateAccount.slow.spec.tsx +++ b/packages/page-accounts/src/CreateAccount.slow.spec.tsx @@ -45,8 +45,7 @@ const renderAccounts = () => { ); }; -// eslint-disable-next-line jest/no-disabled-tests -describe.skip('--SLOW--: Account Create', () => { +describe('--SLOW--: Account Create', () => { it('created account is added to list', async () => { const { findByTestId, findByText, queryByText } = renderAccounts(); diff --git a/packages/page-bounties/src/Bounties.slow.spec.tsx b/packages/page-bounties/src/Bounties.slow.spec.tsx index e1ae483..2a46e1e 100644 --- a/packages/page-bounties/src/Bounties.slow.spec.tsx +++ b/packages/page-bounties/src/Bounties.slow.spec.tsx @@ -45,8 +45,7 @@ const renderBounties = () => { ); }; -// eslint-disable-next-line jest/no-disabled-tests -describe.skip('--SLOW--: Bounties', () => { +describe('--SLOW--: Bounties', () => { it('list shows an existing bounty', async () => { const api = await createApi();