e2e testing, it's hard
This commit is contained in:
		
							parent
							
								
									e5f6d7f047
								
							
						
					
					
						commit
						67a623be18
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -151,6 +151,9 @@ describe("Init", () => { | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|         it("Change Password (wrong current password)", async () => { |         it("Change Password (wrong current password)", async () => { | ||||||
|  |             await page.goto(baseURL + "/settings"); | ||||||
|  |             await page.waitForSelector("#current-password"); | ||||||
|  | 
 | ||||||
|             await page.type("#current-password", "wrong_passw$$d"); |             await page.type("#current-password", "wrong_passw$$d"); | ||||||
|             await page.type("#new-password", "new_password123"); |             await page.type("#new-password", "new_password123"); | ||||||
|             await page.type("#repeat-new-password", "new_password123"); |             await page.type("#repeat-new-password", "new_password123"); | ||||||
|  | @ -168,6 +171,9 @@ describe("Init", () => { | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|         it("Change Password (wrong repeat)", async () => { |         it("Change Password (wrong repeat)", async () => { | ||||||
|  |             await page.goto(baseURL + "/settings"); | ||||||
|  |             await page.waitForSelector("#current-password"); | ||||||
|  | 
 | ||||||
|             await page.type("#current-password", "admin123"); |             await page.type("#current-password", "admin123"); | ||||||
|             await page.type("#new-password", "new_password123"); |             await page.type("#new-password", "new_password123"); | ||||||
|             await page.type("#repeat-new-password", "new_password1234567898797898"); |             await page.type("#repeat-new-password", "new_password1234567898797898"); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue