Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation Refactoring #3598

Merged
merged 63 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
395670c
Digital Documents refactoring
stairaku May 10, 2023
b39f974
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku May 10, 2023
95a3f9b
Research File uncomment steps
stairaku May 10, 2023
223329f
Merge branch 'bcgov:dev' into automation-branch
stairaku May 11, 2023
32c6eca
Digital Documents refactoring
stairaku May 10, 2023
77b17a1
Research File uncomment steps
stairaku May 10, 2023
d512693
Merge branch 'bcgov:dev' into automation-branch
stairaku May 17, 2023
e2b08c4
Merge branch 'bcgov:dev' into automation-branch
stairaku May 23, 2023
a2c94fd
Merge branch 'bcgov:dev' into automation-branch
stairaku Jun 1, 2023
1592bbc
Merge branch 'bcgov:dev' into automation-branch
stairaku Jun 22, 2023
62b463a
Merge branch 'bcgov:dev' into automation-branch
stairaku Jul 21, 2023
0e0e817
Merge branch 'bcgov:dev' into automation-branch
stairaku Jul 24, 2023
89ea35d
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Jul 25, 2023
492f2ed
Merge branch 'bcgov:dev' into automation-branch
stairaku Jul 25, 2023
d90a44d
Merge branch 'bcgov:dev' into automation-branch
stairaku Aug 3, 2023
31268a6
Refactoring on Wait() method
stairaku Aug 3, 2023
18e8b68
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Aug 3, 2023
4a24390
Refactoring on Wait() method
stairaku Aug 3, 2023
549912e
Merge branch 'bcgov:dev' into automation-branch
stairaku Aug 4, 2023
4acd30b
Merge branch 'dev' into automation-branch
devinleighsmith Aug 10, 2023
ad58aff
Merge branch 'bcgov:dev' into automation-branch
stairaku Aug 17, 2023
771447f
Calibrating previous Waits refactoring for all test cases to run succ…
stairaku Aug 17, 2023
8e4a360
Calibrating previous Waits refactoring for all test cases to run succ…
stairaku Aug 17, 2023
c77fe6d
Fixing conflicts
stairaku Aug 17, 2023
168ba6c
Merge branch 'dev' into automation-branch
devinleighsmith Aug 22, 2023
c8f5dfd
Acquisition File - Checklist
stairaku Aug 28, 2023
e713d37
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Aug 28, 2023
a27020d
Merge branch 'bcgov:dev' into automation-branch
stairaku Aug 28, 2023
b04b710
Acquisition File refactoring and Stakeholders
stairaku Sep 6, 2023
7ea008a
Merge branch 'bcgov:dev' into automation-branch
stairaku Sep 6, 2023
81bcfd7
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Sep 6, 2023
d2fce54
Acquisition Files Stakeholders
stairaku Sep 6, 2023
3ccf79c
Merge branch 'dev' into automation-branch
devinleighsmith Sep 8, 2023
cc55adb
Acquisition Files - Compensation Requisition, Changing Digital Docume…
stairaku Sep 14, 2023
720bde3
Merge branch 'bcgov:dev' into automation-branch
stairaku Sep 14, 2023
eb2672c
Testing queries update
stairaku Sep 14, 2023
dfa56e0
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Sep 14, 2023
504c691
Merge branch 'dev' into automation-branch
asanchezr Sep 14, 2023
4deeaee
Merge branch 'dev' into automation-branch
asanchezr Sep 14, 2023
fd70320
Merge branch 'bcgov:dev' into automation-branch
stairaku Sep 15, 2023
91d5a7c
Leases Refactoring
stairaku Sep 15, 2023
a733e58
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Sep 15, 2023
7ab9151
Merge branch 'bcgov:dev' into automation-branch
stairaku Oct 11, 2023
06620ec
Refactoring on Automation - Verify Views, Reserach Files
stairaku Oct 11, 2023
20e3113
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Oct 11, 2023
e327230
Merge branch 'dev' into automation-branch
stairaku Oct 11, 2023
a56e3e8
Acquisition Expropriation and Takes
stairaku Oct 27, 2023
f4a7060
Merge branch 'bcgov:dev' into automation-branch
stairaku Oct 27, 2023
ca3d517
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Oct 27, 2023
9a4ccf6
Merge branch 'dev' into automation-branch
stairaku Oct 31, 2023
0089b73
Merge branch 'bcgov:dev' into automation-branch
stairaku Nov 1, 2023
0e155b5
Nuget package updates, refactoring Contacts, Help desk and AF Checklist
stairaku Nov 1, 2023
2ed4b2f
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Nov 1, 2023
1615bee
Merge branch 'dev' into automation-branch
stairaku Nov 2, 2023
9b8311a
Merge branch 'dev' into automation-branch
stairaku Nov 2, 2023
5ccf38d
Merge branch 'dev' into automation-branch
stairaku Nov 2, 2023
2f3b2d1
Changes on leases
stairaku Nov 2, 2023
dcf1022
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Nov 2, 2023
daed151
Merge branch 'bcgov:dev' into automation-branch
stairaku Nov 3, 2023
b66b37f
Update nuget packages
stairaku Nov 3, 2023
0871d70
Merge branch 'bcgov:dev' into automation-branch
stairaku Nov 16, 2023
460ee32
Automation refactoring in Digital Documents, Projects, Notes, Financi…
stairaku Nov 16, 2023
c469967
Merge branch 'automation-branch' of https://github.com/stairaku/PSP i…
stairaku Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions testing/PIMS.Tests.Automation/Classes/AcquisitionFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,15 @@ public class Take
public string TakeStatus { get; set; } = null!;
public string? SiteContamination { get; set; } = String.Empty;
public string? TakeDescription { get; set; } = String.Empty;
public string? IsNewRightWay { get; set; } = String.Empty;
public string? IsNewRightWayArea { get; set; } = String.Empty;
public string? IsStatutoryRightWay { get; set; } = String.Empty;
public string? IsStatutoryRightWayArea { get; set; } = String.Empty;
public string? IsLandNotation { get; set; } = String.Empty;
public string? IsLandNotationDetail { get; set; } = String.Empty;
public string? IsLandNotationArea { get; set; } = String.Empty;
public string? IsLandNotationDate { get; set; } = String.Empty;
public string? IsNewHighwayDedication { get; set; } = String.Empty;
public string? IsNewHighwayDedicationArea { get; set; } = String.Empty;
public string? IsMotiInventory { get; set; } = String.Empty;
public string? IsNewInterestLand { get; set; } = String.Empty;
public string? IsNewInterestLandArea { get; set; } = String.Empty;
public string? IsLandActTenure { get; set; } = String.Empty;
public string? IsLandActTenureDetail { get; set; } = String.Empty;
public string? IsLandActTenureArea { get; set; } = String.Empty;
public string? IsLandActTenureDate { get; set; } = String.Empty;
public string? IsLicenseConstruct { get; set; } = String.Empty;
public string? IsLicenseConstructArea { get; set; } = String.Empty;
public string IsLicenseConstructDate { get; set; } = String.Empty;
Expand Down
Binary file modified testing/PIMS.Tests.Automation/Data/PIMS_Testing_Data.xlsx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ Scenario: 11. Acquisition File from Pin
Then A new Acquisition file is created successfully

Scenario: 12. Acquisition Files List View
Given I search for an existing Acquisition File from row number 1
Given I search for an existing Acquisition File from row number 2
Then Expected Acquisition File Content is displayed on Acquisition File Table

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions testing/PIMS.Tests.Automation/Features/AdminTools.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ Scenario: 04. Financial Codes
Scenario: 05. Duplicate existing Financial Code
Given I attempt to duplicate a Financial Code from row number 1
Then Financial Code cannot be duplicated successfully

Scenario: 06. Financial Codes List View
Given I search for an existing Financial Code from row number 1
Then Financial Codes rendered successfully
28 changes: 28 additions & 0 deletions testing/PIMS.Tests.Automation/Features/AdminTools.feature.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 29 additions & 18 deletions testing/PIMS.Tests.Automation/Features/Projects.feature
Original file line number Diff line number Diff line change
@@ -1,25 +1,36 @@
@Regression-Projects
Feature: Projects

Scenario Outline: Create new Projects
Scenario Outline: Type of Projects
Given I create a new Project from row number <RowNumber>
When I verify The Project View Form
And I create Digital Documents for a "Project" row number <DocRowNumber>
And I search for an existing project
Then Expected Content is displayed on Projects Table
Then A new Project is created successfully
Examples:
| RowNumber | DocRowNumber |
| 1 | 8 |
| 2 | 9 |
| 3 | 10 |
| 4 | 11 |
| RowNumber |
| 1 |
| 2 |
| 3 |

Scenario: Update Project
Given I update an existing project from row number 5
When I edit a Digital Document for a "Project" from row number 12
And I navigate back to Project Details
Then The Project is updated successfully
Scenario: 01. Project Details
Given I create a new Project from row number 4
When I update an existing project from row number 5
Then A new Project is created successfully

Scenario: Duplicate Project
Given I create a new Project from row number 1
Then Duplicate Project Alert is displayed
Scenario: 02. Project Documents
Given I create a new Project from row number 6
When I create Digital Documents for a "Project" row number 8
And I edit a Digital Document for a "Project" from row number 9
Then A new Project is created successfully

Scenario: 03. Project Notes
Given I create a new Project from row number 7
When I create a new Note on the Notes Tab from row number 6
And I edit a Note on the Notes Tab from row number 7
Then A new Project is created successfully

Scenario: 04. Project List View
Given I search for existing Projects from row number 2
Then Expected Project Content is displayed on Projects Table

#Scenario: Duplicate Project
# Given I create a new Project from row number 2
# Then Duplicate Project Alert is displayed
126 changes: 90 additions & 36 deletions testing/PIMS.Tests.Automation/Features/Projects.feature.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion testing/PIMS.Tests.Automation/Features/ResearchFiles.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Scenario: 02. Research File Properties

Scenario: 03. Research File Documents
Given I create a basic Research File from row number 3
When I create Digital Documents for a "Research File" row number 3
When I create Digital Documents for a "Research File" row number 3
And I edit a Digital Document for a "Research File" from row number 6
Then A new Research File is created successfully

Scenario: 04. Research File Notes
Expand Down
Loading
Loading