File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -186,13 +186,13 @@ describe('Home Page', () => {
186
186
expect ( syncExternalAccountsUpdate ) . toBeTruthy ( ) ;
187
187
} ) ;
188
188
it ( 'should display the task requests button' , async ( ) => {
189
- await page . goto ( 'http://localhost:8000/?dev=true ' ) ;
189
+ await page . goto ( 'http://localhost:8000' ) ;
190
190
await page . waitForNetworkIdle ( ) ;
191
191
const taskRequestsButton = await page . $ ( '#task-requests-link' ) ;
192
192
expect ( taskRequestsButton ) . toBeTruthy ( ) ;
193
193
} ) ;
194
194
it ( 'should go to the task requests page' , async ( ) => {
195
- await page . goto ( 'http://localhost:8000/?dev=true ' ) ;
195
+ await page . goto ( 'http://localhost:8000' ) ;
196
196
await page . waitForNetworkIdle ( ) ;
197
197
198
198
const taskRequestsButton = await page . $ ( '#task-requests-link' ) ;
Original file line number Diff line number Diff line change @@ -28,9 +28,8 @@ describe('Task Requests', () => {
28
28
page . on ( 'request' , ( request ) => {
29
29
if (
30
30
request . url ( ) === `${ API_BASE_URL } /taskRequests` ||
31
- request . url ( ) === `${ API_BASE_URL } /taskRequests?dev=true` ||
32
31
request . url ( ) ===
33
- `${ API_BASE_URL } /taskRequests?size=20&q=status%3Apending+sort%3Acreated-asc&dev=true `
32
+ `${ API_BASE_URL } /taskRequests?size=20&q=status%3Apending+sort%3Acreated-asc`
34
33
) {
35
34
request . respond ( {
36
35
status : 200 ,
@@ -44,7 +43,7 @@ describe('Task Requests', () => {
44
43
} ) ;
45
44
} else if (
46
45
request . url ( ) ===
47
- `${ API_BASE_URL } /taskRequests?size=20&q=status%3Aapproved++sort%3Acreated-asc&dev=true `
46
+ `${ API_BASE_URL } /taskRequests?size=20&q=status%3Aapproved++sort%3Acreated-asc`
48
47
) {
49
48
const list = [ ] ;
50
49
for ( let i = 0 ; i < 20 ; i ++ ) {
@@ -55,7 +54,7 @@ describe('Task Requests', () => {
55
54
contentType : 'application/json' ,
56
55
body : JSON . stringify ( {
57
56
data : list ,
58
- next : '/taskRequests?size=20&q=status%3Aapproved++sort%3Acreated-asc&dev=true ' ,
57
+ next : '/taskRequests?size=20&q=status%3Aapproved++sort%3Acreated-asc' ,
59
58
} ) ,
60
59
} ) ;
61
60
} else {
Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ const syncIdle7dUsersUpdate = document.getElementById(
19
19
) ;
20
20
const repoSyncStatusUpdate = document . getElementById ( SYNC_REPO_STATUS_UPDATE ) ;
21
21
const params = new URLSearchParams ( window . location . search ) ;
22
- const taskRequestsLink =
23
- params . get ( 'dev' ) === 'true' && document . getElementById ( TASK_REQUESTS_LINK ) ;
22
+ const taskRequestsLink = document . getElementById ( TASK_REQUESTS_LINK ) ;
24
23
25
24
const syncNicknamesStatusUpdate = document . getElementById (
26
25
SYNC_NICKNAMES_STATUS_UPDATE ,
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ let isDataLoading = false;
21
21
let selectedSortButton = null ;
22
22
23
23
const filterStates = {
24
- dev : true ,
25
24
status : Status . PENDING ,
26
25
order : CREATED_TIME ,
27
26
size : DEFAULT_PAGE_SIZE ,
You can’t perform that action at this time.
0 commit comments