diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-15 11:45:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-15 11:45:29 +0100 |
commit | 48586fe070c2a59e9febb62a7f41ebb384e1d20e (patch) | |
tree | ecf8d719d0c1b18d36a27cb4d3db6b2c1d20c78a /client/e2e | |
parent | d89fcd1e5efe1f91652a7c9da02a9323dc035f2b (diff) | |
download | PeerTube-48586fe070c2a59e9febb62a7f41ebb384e1d20e.tar.gz PeerTube-48586fe070c2a59e9febb62a7f41ebb384e1d20e.tar.zst PeerTube-48586fe070c2a59e9febb62a7f41ebb384e1d20e.zip |
Fix ng-select width
Diffstat (limited to 'client/e2e')
-rw-r--r-- | client/e2e/protractor.conf.js | 10 | ||||
-rw-r--r-- | client/e2e/src/videos.e2e-spec.ts | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/client/e2e/protractor.conf.js b/client/e2e/protractor.conf.js index be303bce4..2b26d2c40 100644 --- a/client/e2e/protractor.conf.js +++ b/client/e2e/protractor.conf.js | |||
@@ -51,21 +51,21 @@ exports.config = { | |||
51 | { | 51 | { |
52 | browserName: 'Chrome', | 52 | browserName: 'Chrome', |
53 | device: 'Google Nexus 6', | 53 | device: 'Google Nexus 6', |
54 | realMobile: 'true', | 54 | real_mobile: 'true', |
55 | os_version: '5.0', | 55 | os_version: '5.0', |
56 | name: 'Latest Chrome Android' | 56 | name: 'Latest Chrome Android' |
57 | }, | 57 | }, |
58 | { | 58 | { |
59 | browserName: 'Safari', | 59 | browserName: 'Safari', |
60 | device: 'iPhone 8', | 60 | device: 'iPhone 8 Plus', |
61 | realMobile: 'true', | 61 | real_mobile: 'true', |
62 | os_version: '12', | 62 | os_version: '11', |
63 | name: 'Safari iPhone' | 63 | name: 'Safari iPhone' |
64 | }, | 64 | }, |
65 | { | 65 | { |
66 | browserName: 'Safari', | 66 | browserName: 'Safari', |
67 | device: 'iPad 7th', | 67 | device: 'iPad 7th', |
68 | realMobile: 'true', | 68 | real_mobile: 'true', |
69 | os_version: '13', | 69 | os_version: '13', |
70 | name: 'Safari iPad' | 70 | name: 'Safari iPad' |
71 | } | 71 | } |
diff --git a/client/e2e/src/videos.e2e-spec.ts b/client/e2e/src/videos.e2e-spec.ts index a73b9f318..4fccdf1b6 100644 --- a/client/e2e/src/videos.e2e-spec.ts +++ b/client/e2e/src/videos.e2e-spec.ts | |||
@@ -208,6 +208,8 @@ describe('Videos workflow', () => { | |||
208 | 208 | ||
209 | await playerPage.waitUntilPlayerWrapper() | 209 | await playerPage.waitUntilPlayerWrapper() |
210 | 210 | ||
211 | console.log('Will set %s and %s tokens in local storage.', accessToken, refreshToken) | ||
212 | |||
211 | await browser.executeScript(`window.localStorage.setItem('access_token', '${accessToken}');`) | 213 | await browser.executeScript(`window.localStorage.setItem('access_token', '${accessToken}');`) |
212 | await browser.executeScript(`window.localStorage.setItem('refresh_token', '${refreshToken}');`) | 214 | await browser.executeScript(`window.localStorage.setItem('refresh_token', '${refreshToken}');`) |
213 | await browser.executeScript(`window.localStorage.setItem('token_type', 'Bearer');`) | 215 | await browser.executeScript(`window.localStorage.setItem('token_type', 'Bearer');`) |