mirror of
https://dev.azure.com/Foster-X/CMP329%20CW2/_git/CMP329%20CW2
synced 2025-07-27 06:03:32 +00:00
Window maximisation added as a comment in case I want to use it again
This commit is contained in:
parent
f06dfb806c
commit
1133b49ec8
2 changed files with 13 additions and 0 deletions
12
src/csv/reports/test-report-20250405-174702.csv
Normal file
12
src/csv/reports/test-report-20250405-174702.csv
Normal file
|
@ -0,0 +1,12 @@
|
|||
Role,Username,Step,Result
|
||||
author,testuser,Login,PASS (Logged in succesfully)
|
||||
author,testuser,Post Access,PASS
|
||||
author,testuser,Post Creation,PASS
|
||||
author,testuser,Post Visible,PASS
|
||||
author,testuser,Post Deleted,PASS
|
||||
subscriber,subscriber,Login,PASS (Logged in succesfully)
|
||||
subscriber,subscriber,Post Access,PASS
|
||||
subscriber,subscriber,Post Creation,SKIPPED (Not permitted)
|
||||
subscriber,subscriber,Post Visible,SKIPPED
|
||||
subscriber,subscriber,Post Deleted,SKIPPED
|
||||
unauthorised,fakename,Login,PASS (Login failed, as expected)
|
Can't render this file because it has a wrong number of fields in line 12.
|
|
@ -38,6 +38,7 @@ public class TestPoster {
|
|||
@CsvFileSource(resources = "/csv/built/credentials_permissions.csv", numLinesToSkip = 0)
|
||||
public void testPostEditDelete(String role, String usernameText, String passwordText) {
|
||||
WebDriver driver = ConfigureDriver.configureDriver();
|
||||
//driver.manage().window().maximize();
|
||||
driver.get(LOGIN_PAGE);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue