Skip to content

Commit

Permalink
Add import for protractor
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Dec 28, 2021
1 parent 7633169 commit 58d5502
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/e2e/_sharedSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import otplib = require('otplib')
import { by, element, browser } from 'protractor'
import { by, element, browser, protractor } from 'protractor'

const url = require('url')

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/administrationSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { $$, browser } from 'protractor'
import { $$, browser, protractor } from 'protractor'

describe('/#/administration', () => {
describe('challenge "adminSection"', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/b2bOrderSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { browser } from 'protractor'
import { browser, protractor } from 'protractor'
const utils = require('../../lib/utils')

describe('/b2b/v2/order', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/basketSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { $$, browser, by, element } from 'protractor'
import { $$, browser, by, element, protractor } from 'protractor'
const security = require('../../lib/insecurity')
const models = require('../../models/index')

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/changePasswordSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { by, element, browser } from 'protractor'
import { by, element, browser, protractor } from 'protractor'

describe('/#/privacy-security/change-password', () => {
let currentPassword, newPassword, newPasswordRepeat, changeButton
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/chatbotSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { by, element, browser } from 'protractor'
import { by, element, browser, protractor } from 'protractor'
const utils = require('../../lib/utils')

describe('/chatbot', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/complainSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import path = require('path')
import { by, element, browser } from 'protractor'
import { by, element, browser, protractor } from 'protractor'
const config = require('config')
const utils = require('../../lib/utils')

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/contactSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { by, element, browser, $$, ElementFinder } from 'protractor'
import { by, element, browser, $$, ElementFinder, protractor } from 'protractor'

const utils = require('../../lib/utils')
const pastebinLeakProduct = config.get('products').filter(product => product.keywordsForPastebinDataLeakChallenge)[0]
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/directAccessSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { browser } from 'protractor'
import { browser, protractor } from 'protractor'
const utils = require('../../lib/utils')
let blueprint: string

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/forgotPasswordSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import config = require('config')
import { by, element } from 'protractor'
import { by, element, protractor } from 'protractor'

describe('/#/forgot-password', () => {
let email, securityAnswer, newPassword, newPasswordRepeat, resetButton
Expand Down

0 comments on commit 58d5502

Please sign in to comment.