Skip to content

Commit

Permalink
test: re-enable skipped tests, use quarantine mode (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored Jul 9, 2019
1 parent 0e24795 commit 48f7c64
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"test-browser-suite1": "run-p --race run-mastodon build-and-start test-mastodon-suite1",
"test-mastodon-suite1": "run-s wait-for-mastodon-to-start wait-for-mastodon-data testcafe-suite1",
"testcafe": "run-s testcafe-suite0 testcafe-suite1",
"testcafe-suite0": "cross-env-shell testcafe --hostname localhost --skip-js-errors -c 4 $BROWSER tests/spec/0*",
"testcafe-suite1": "cross-env-shell testcafe --hostname localhost --skip-js-errors $BROWSER tests/spec/1*",
"testcafe-suite0": "cross-env-shell testcafe --hostname localhost --skip-js-errors -q -c 4 $BROWSER tests/spec/0*",
"testcafe-suite1": "cross-env-shell testcafe --hostname localhost --skip-js-errors -q $BROWSER tests/spec/1*",
"test-unit": "mocha -r esm -r bin/browser-shim.js tests/unit/",
"wait-for-mastodon-to-start": "node -r esm bin/wait-for-mastodon-to-start.js",
"wait-for-mastodon-data": "node -r esm bin/wait-for-mastodon-data.js",
Expand Down
2 changes: 1 addition & 1 deletion tests/spec/121-delete-and-redraft.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ test('delete and redraft reply', async t => {
.expect(getNthStatusContent(2).innerText).match(/@admin hello there admin\s+oops forgot to say thank you/)
})

test.skip('delete and redraft reply within thread', async t => { // TODO: flaky test
test('delete and redraft reply within thread', async t => {
await postAs('admin', 'this is a thread')
await loginAsFoobar(t)
await t
Expand Down
4 changes: 2 additions & 2 deletions tests/spec/126-polls.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { createPollAs, voteOnPollAs } from '../serverActions'
fixture`126-polls.js`
.page`http://localhost:4002`

test.skip('Can vote on polls', async t => { // TODO: flaky test
test('Can vote on polls', async t => {
await createPollAs('admin', 'vote on my cool poll', ['yes', 'no'], false)
await sleep(2000)
await loginAsFoobar(t)
Expand All @@ -34,7 +34,7 @@ test.skip('Can vote on polls', async t => { // TODO: flaky test
.expect(getNthStatusPollVoteCount(1).innerText).eql('1 vote')
})

test.skip('Can vote on multiple-choice polls', async t => { // TODO: flaky test
test('Can vote on multiple-choice polls', async t => {
await createPollAs('admin', 'vote on my other poll', ['yes', 'no', 'maybe'], true)
await sleep(2000)
await loginAsFoobar(t)
Expand Down
2 changes: 1 addition & 1 deletion tests/spec/130-focal-point.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { loginAsFoobar } from '../roles'
fixture`130-focal-point.js`
.page`http://localhost:4002`

test.skip('Can set a focal point', async t => { // TODO: flaky test
test('Can set a focal point', async t => {
await loginAsFoobar(t)
await t
.typeText(composeInput, 'here is a focal point')
Expand Down

0 comments on commit 48f7c64

Please sign in to comment.