Skip to content

Commit

Permalink
Merge pull request #16 from gladly-team/disableSquads
Browse files Browse the repository at this point in the history
Disable squads
  • Loading branch information
amaliwanag2 authored Oct 17, 2021
2 parents b581399 + 691f6d5 commit 286b980
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tab-e2e",
"version": "2.0.1",
"version": "2.0.2",
"description": "",
"main": "build/index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import getBasicLegacyTests from './tab-legacy/basics'
import getSearchTests from './tab-legacy/search'
import getUserSignupTests from './tab-legacy/userSignup'
import initDriver from './utils/driver-mgr'
import getSquadTests from './tab-web/squads'
// import getSquadTests from './tab-web/squads'
// config = { selenium: {}, browserstack: {}, build: {}, mailosaur: {} }
// see driver-mgr for full shape
const init = (config = {}) => {
Expand All @@ -11,12 +11,12 @@ const init = (config = {}) => {
const basicLegacyTests = getBasicLegacyTests(getDriver)
const searchTests = getSearchTests(getDriver)
const userSignupTests = getUserSignupTests(getDriver)
const squadTests = getSquadTests(getDriver)
// const squadTests = getSquadTests(getDriver)
return [
...userSignupTests,
...basicLegacyTests,
...searchTests,
...squadTests,
// ...squadTests,
]
}
export default init
2 changes: 1 addition & 1 deletion src/tab-web/__tests__/tabweb.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ describe('Tab: acceptance tests', () => {
const tests = [...squadTests]
tests.forEach(({ description, test, testTimeout }) =>
// eslint-disable-next-line jest/expect-expect, jest/valid-title
it(description, test, testTimeout)
it.skip(description, test, testTimeout)
)
})

0 comments on commit 286b980

Please sign in to comment.