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

Merge v2.x/rc into v2.x/main #259

Merged
merged 179 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
8e22060
Updating the stepper
sakshibobade21 Jun 18, 2024
79cff23
Passthrough
sakshibobade21 Jun 18, 2024
4481676
Merge remote-tracking branch 'origin' into regression/vsam-status
sakshibobade21 Jun 20, 2024
7354763
Merge branch 'v2.x/staging' into regression/vsam-status
timgerstel Jun 21, 2024
f86dfc4
regression fix
sakshibobade21 Jun 24, 2024
9a47a73
Merge branch 'regression/vsam-status' of https://github.com/zowe/zen …
sakshibobade21 Jun 24, 2024
4f7ca4b
Updating the stepper icon logic
sakshibobade21 Jun 25, 2024
f756077
Removing the space
sakshibobade21 Jun 25, 2024
46d5142
Updating the interface name
sakshibobade21 Jun 25, 2024
214427a
indendations
sakshibobade21 Jun 25, 2024
2161a8b
Updating the stepper
sakshibobade21 Jun 26, 2024
5ab1fb4
Updating the dataset instllation
sakshibobade21 Jun 26, 2024
0fb7d12
Removing the eventlisterner
sakshibobade21 Jun 26, 2024
539b606
Handling edge cases for instllation
sakshibobade21 Jun 26, 2024
25f111d
code cleanup
sakshibobade21 Jun 26, 2024
4937dcb
Updating the substep skip array
sakshibobade21 Jun 26, 2024
5da1eff
Removing error prop
sakshibobade21 Jun 26, 2024
58702ea
Removing error attr
sakshibobade21 Jun 27, 2024
8573f1d
Adding some coditions
sakshibobade21 Jun 27, 2024
47dbe7f
Updating the consitions
sakshibobade21 Jun 27, 2024
2fe4b8a
Merge remote-tracking branch 'origin' into regression/vsam-status
sakshibobade21 Jun 27, 2024
10dff9f
Bugfix
sakshibobade21 Jun 27, 2024
15a3fa4
Updating progress in edge cases
sakshibobade21 Jun 27, 2024
32a7632
Fixing the status of the networking and the launch config stage
sakshibobade21 Jun 27, 2024
5d89775
merging conflicts
sakshibobade21 Jun 28, 2024
c10f623
updating unpax stage
sakshibobade21 Jul 2, 2024
5761825
merging
sakshibobade21 Jul 2, 2024
32c820d
Code cleanup
sakshibobade21 Jul 3, 2024
f9c9543
Optimizing installation
sakshibobade21 Jul 3, 2024
d0da7f6
Optimizing the apf auth
sakshibobade21 Jul 3, 2024
09ea010
optimizing the certs
sakshibobade21 Jul 3, 2024
52db7dd
Updating the vsam stage
sakshibobade21 Jul 3, 2024
100cd29
optimizing the security stage
sakshibobade21 Jul 3, 2024
0dcfd07
updating stcs
sakshibobade21 Jul 3, 2024
7f6ad0d
Updating the progress slice
sakshibobade21 Jul 3, 2024
7df8753
Updating the launch config and the network state
sakshibobade21 Jul 3, 2024
e87c70a
Updating the progress slice
sakshibobade21 Jul 3, 2024
770dfbc
Updating the launch config
sakshibobade21 Jul 3, 2024
da1f59c
Complete code cleanup for the unpax stage
sakshibobade21 Jul 3, 2024
7ec4f9a
minor cleanuo
sakshibobade21 Jul 3, 2024
6659c79
code fix
sakshibobade21 Jul 3, 2024
1475c72
Code cleanup
sakshibobade21 Jul 3, 2024
f91ccbc
More cleanup
sakshibobade21 Jul 3, 2024
41e3fad
Updating the substages logic
sakshibobade21 Jul 3, 2024
b9987fd
code cleanup for review instllation
sakshibobade21 Jul 3, 2024
db4f4a9
updating networking stage
sakshibobade21 Jul 3, 2024
95f7d69
Code renaming
sakshibobade21 Jul 3, 2024
ad16570
Updating the security code
sakshibobade21 Jul 4, 2024
4407652
Updating the stcs stage
sakshibobade21 Jul 4, 2024
e4edd33
Updating the certificates stage
sakshibobade21 Jul 4, 2024
55c544d
Updating the vsam stage
sakshibobade21 Jul 4, 2024
25dd906
Updating the initapfauth stage
sakshibobade21 Jul 4, 2024
5bf59d7
Updating the stepper to update the skip button anabling logic
sakshibobade21 Jul 4, 2024
e3101cb
Updating the unpax stage
sakshibobade21 Jul 4, 2024
9435c7e
More updates to stcs stage
sakshibobade21 Jul 4, 2024
eb12bb2
Some more updates to stcs stage
sakshibobade21 Jul 4, 2024
4c7ada5
Updating the installation stage
sakshibobade21 Jul 4, 2024
153d67f
unpax stage bugfix
sakshibobade21 Jul 4, 2024
bb6bff4
More changes to the stepper
sakshibobade21 Jul 4, 2024
4c22f0a
More changes to all substages
sakshibobade21 Jul 4, 2024
52992d7
Updates to the unpax stage
sakshibobade21 Jul 4, 2024
0d85a04
Updating the stepper
sakshibobade21 Jul 4, 2024
7e572b9
Updating the edge cases
sakshibobade21 Jul 5, 2024
5f4cf0a
Restoring the status
sakshibobade21 Jul 6, 2024
8428b1b
Updating the init apf auth stage
sakshibobade21 Jul 6, 2024
074f8ca
Updating the init mvs stage
sakshibobade21 Jul 6, 2024
4279728
Updating all the substages
sakshibobade21 Jul 6, 2024
3cce19c
Updating the pax stage
sakshibobade21 Jul 6, 2024
14ce741
Updating the review installation stage
sakshibobade21 Jul 8, 2024
5ce79db
Updating the unpax
sakshibobade21 Jul 8, 2024
44f38f2
Merging with the dry ru code
sakshibobade21 Jul 8, 2024
3b65a96
Updating the indtallation type stage
sakshibobade21 Jul 9, 2024
41ba368
Merging with staging
sakshibobade21 Jul 9, 2024
58032d6
Merge remote-tracking branch 'origin' into regression/vsam-status
sakshibobade21 Jul 15, 2024
0069f35
First commit
sakshibobade21 Jul 26, 2024
0c10b58
Bugfixes
sakshibobade21 Jul 26, 2024
7ceebb2
Removing the passthrough
sakshibobade21 Jul 26, 2024
44f60e9
Adding the dataset validations for the dataset installation stage
sakshibobade21 Jul 29, 2024
93c9b5e
Fix broken github action and improve test logic
Aug 2, 2024
b78aa56
fix installtion
Aug 7, 2024
709dffb
update install type
Aug 7, 2024
2e233f0
Adding the utility functions
sakshibobade21 Aug 7, 2024
f6c6ecd
Updating the json forms to be stateless
sakshibobade21 Aug 7, 2024
15c0975
Updating the validation for the datsets
sakshibobade21 Aug 7, 2024
949ed90
Merge pull request #232 from zowe/misc-bufixes
skurnevich Aug 7, 2024
4e78e86
Merge branch 'v2.x/staging' into bugfixes-installation-tab
skurnevich Aug 7, 2024
b831061
Merge pull request #233 from zowe/bugfixes-installation-tab
skurnevich Aug 8, 2024
9f80f94
Merging with staging
sakshibobade21 Aug 8, 2024
ca25fed
fix newtork and planning page
Aug 8, 2024
7112618
add last change
Aug 9, 2024
1ba7f3b
Merge branch 'v2.x/staging' into users/jstruga/zen-update
struga0258 Aug 9, 2024
c9f6d1b
Removing launch config file
sakshibobade21 Aug 9, 2024
81a9bc1
Adding the service
sakshibobade21 Aug 9, 2024
8e11bcf
Updating the installation Handler
sakshibobade21 Aug 9, 2024
164ede7
Merge remote-tracking branch 'origin' into update-jsonforms
sakshibobade21 Aug 9, 2024
d4a6b1e
code-reorganizing
sakshibobade21 Aug 9, 2024
c0f1ddf
Updating the core logic
sakshibobade21 Aug 9, 2024
3ba5acd
Handling oneOf schema
sakshibobade21 Aug 9, 2024
39b668d
Merge pull request #193 from zowe/regression/vsam-status
skurnevich Aug 9, 2024
3e28854
Updating the certificates
sakshibobade21 Aug 9, 2024
e1b30c8
Updating the json forms
sakshibobade21 Aug 9, 2024
ad2ca35
More updates
sakshibobade21 Aug 12, 2024
3db0d79
Merge remote-tracking branch 'origin' into update-jsonforms
sakshibobade21 Aug 12, 2024
1f0cdc8
Merging
sakshibobade21 Aug 13, 2024
b95bf39
More updates to the json forms
sakshibobade21 Aug 13, 2024
7caa479
Merge remote-tracking branch 'origin' into schema-updates
sakshibobade21 Aug 13, 2024
c916384
updating the jsonforms
sakshibobade21 Aug 14, 2024
88d6f75
More updates to the json forms
sakshibobade21 Aug 14, 2024
68600ba
Successful Schema Update
sakshibobade21 Aug 14, 2024
a56869b
Merge branch 'v2.x/staging' into users/jstruga/zen-update
struga0258 Aug 14, 2024
8dd3f1b
Merge pull request #238 from zowe/users/jstruga/zen-update
struga0258 Aug 14, 2024
62b62b3
npm audit fix for ws
skurnevich Aug 15, 2024
ce273eb
Merge pull request #242 from zowe/packages/ws-audit-fix
1000TurquoisePogs Aug 16, 2024
e53e580
First part of reducing
skurnevich Aug 16, 2024
ec25ec6
Updating the referense resolver
sakshibobade21 Aug 19, 2024
d06288c
Updating the refrence resolver
sakshibobade21 Aug 19, 2024
2c49b91
Minor code cleanup
sakshibobade21 Aug 19, 2024
0894057
Hardcoding
sakshibobade21 Aug 19, 2024
f8fab83
Next portion
skurnevich Aug 19, 2024
9c94270
Disabling zosmf check box and fix minor typos
skurnevich Aug 20, 2024
206a72b
Updating the ref resolvation
sakshibobade21 Aug 21, 2024
01457a5
Updating the refernce resler
sakshibobade21 Aug 21, 2024
bf689de
Updating the json forms
sakshibobade21 Aug 21, 2024
9257774
Handling reference resolving
sakshibobade21 Aug 21, 2024
ae43a38
Final updates
sakshibobade21 Aug 21, 2024
467998d
final changes to ref resolver
sakshibobade21 Aug 21, 2024
06d80a4
Merge remote-tracking branch 'origin' into schema-updates
sakshibobade21 Aug 21, 2024
1e8f757
Merge remote-tracking branch 'origin' into update-jsonforms
sakshibobade21 Aug 21, 2024
5435dbb
Updating the resolv eref
sakshibobade21 Aug 21, 2024
aaeeff0
More updates to json form
sakshibobade21 Aug 21, 2024
805e724
Updatinf the functions again
sakshibobade21 Aug 21, 2024
0941dc7
Updating the forms to update pattern
sakshibobade21 Aug 22, 2024
878d0d2
Final update sto the resolver
sakshibobade21 Aug 23, 2024
1c84a38
More updates
sakshibobade21 Aug 23, 2024
7acb0da
Removing unused codes
sakshibobade21 Aug 23, 2024
24a2d2d
Handling the anyof schemas
sakshibobade21 Aug 26, 2024
51bed09
Like;y final changes for the anyon properties
sakshibobade21 Aug 26, 2024
e77d944
Updating the error msg to a normal log
sakshibobade21 Aug 28, 2024
a6e85fb
Updating the schema options label
sakshibobade21 Aug 28, 2024
b50df4b
Updating the error message
sakshibobade21 Aug 28, 2024
daf26fd
Updating the resolve ref parameters
sakshibobade21 Aug 29, 2024
64e3c26
Updating the param for the ref resolver
sakshibobade21 Aug 29, 2024
5e2ecac
small typo
sakshibobade21 Aug 29, 2024
8c73c93
Added timer on space notification, added basic check for nested locat…
skurnevich Aug 29, 2024
b46725e
Setting schema
sakshibobade21 Aug 29, 2024
a991006
Merge branch 'v2.x/staging' into chore/planning-stage
skurnevich Aug 29, 2024
250f248
Merge pull request #244 from zowe/chore/planning-stage
skurnevich Aug 29, 2024
b940653
Merge branch 'v2.x/staging' into schema-updates
skurnevich Aug 29, 2024
80dd90e
Merge remote-tracking branch 'origin' into schema-updates
sakshibobade21 Aug 30, 2024
c6a4ccd
Merge branch 'schema-updates' of https://github.com/zowe/zen into sch…
sakshibobade21 Aug 30, 2024
daa6b62
Merging with the staging
sakshibobade21 Aug 30, 2024
a8017a6
Merge pull request #240 from zowe/schema-updates
skurnevich Aug 30, 2024
03536c0
Meging to staging
sakshibobade21 Aug 30, 2024
a386c71
Update Planning.tsx
skurnevich Aug 30, 2024
b02c5a4
Merge pull request #250 from zowe/skurnevich-patch-1
skurnevich Aug 30, 2024
4e95647
Referencing new name attr to the the cashing servive
sakshibobade21 Sep 2, 2024
7d8c883
Updating the vsam stage
sakshibobade21 Sep 2, 2024
0da9969
Code opt for the vsam stage
sakshibobade21 Sep 2, 2024
f17aacd
minor chage
sakshibobade21 Sep 2, 2024
2173c78
Minor changes
sakshibobade21 Sep 2, 2024
854dff5
Merge remote-tracking branch 'origin' into update-jsonforms
sakshibobade21 Sep 2, 2024
307d97b
More updates to vsam stage
sakshibobade21 Sep 2, 2024
bbd0a70
More changes
sakshibobade21 Sep 2, 2024
7384113
Code optimizations
sakshibobade21 Sep 3, 2024
151e9e9
Limiting the vsam dataset name to 38 characters
sakshibobade21 Sep 3, 2024
e8960c5
Merge pull request #241 from zowe/update-jsonforms
skurnevich Sep 3, 2024
f74612e
Merge branch 'v2.x/rc' into v2.x/staging
sakshibobade21 Sep 5, 2024
eee05d5
Merge branch 'v2.x/rc' into update-staging-w-rc
sakshibobade21 Sep 5, 2024
dbdd925
Version Upgrade
sakshibobade21 Sep 5, 2024
8e7c5e5
Merge branch 'v2.x/rc' into v2.x/staging
skurnevich Sep 5, 2024
d3db88e
Merge branch 'v2.x/staging' into update-staging-w-rc
sakshibobade21 Sep 5, 2024
06dbfce
Merge pull request #253 from zowe/update-staging-w-rc
skurnevich Sep 5, 2024
6bae9e6
Merge pull request #252 from zowe/v2.x/staging
skurnevich Sep 5, 2024
57c9704
Version-updates
sakshibobade21 Sep 5, 2024
34a2bdc
Merge pull request #256 from zowe/version-update
DivergentEuropeans Sep 5, 2024
8d3cc2b
Merge branch 'v2.x/staging' of https://github.com/zowe/zen into v2.x/…
sakshibobade21 Sep 5, 2024
da8c067
Sync with the rc
sakshibobade21 Sep 5, 2024
9b7761d
Merge pull request #258 from zowe/update-staging-w-rc
DivergentEuropeans Sep 5, 2024
3de6255
Merge pull request #257 from zowe/v2.x/staging
DivergentEuropeans Sep 5, 2024
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
14 changes: 13 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,20 @@ jobs:
- build-macos
if: ${{ success() && github.event.inputs.PERFORM_RELEASE == 'true' }}
steps:
- name: '[Prep 3] Checkout'
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Set tag value'
run: |
COMMIT_HASH=$(git rev-parse --verify HEAD)
CURRENT_TIME=$(date +%s%3N)
if [ -z ${{ github.event.pull_request.number }} ]
then
CURRENT_BRANCH=${GITHUB_REF#refs/heads/}
else
CURRENT_BRANCH=PR-${{ github.event.pull_request.number }}
fi
P_VERSION=$(cat package.json | grep -o '"version": *"[^"]*"' | sed 's/"version": "\(.*\)"/\1/')

- name: '[Release 1] Release (if necessary)'
if: ${{ success() && github.event.inputs.PERFORM_RELEASE == 'true' }}
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Zowe",
"description": "Zowe Server Install Wizard",
"productName": "zowe-install-wizard",
"version": "1.0.0",
"version": "1.0.1",
"main": ".webpack/main",
"scripts": {
"start": "electron-forge start --enable-logging",
Expand Down
10 changes: 10 additions & 0 deletions playwright_test/Pages/apfAuth.page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Page,ElectronApplication, Locator,_electron as electron } from '@playwright/test';

Check failure on line 1 in playwright_test/Pages/apfAuth.page.ts

View workflow job for this annotation

GitHub Actions / lint

missing header

Check warning on line 1 in playwright_test/Pages/apfAuth.page.ts

View workflow job for this annotation

GitHub Actions / lint

'electron' is defined but never used

Check failure on line 1 in playwright_test/Pages/apfAuth.page.ts

View workflow job for this annotation

GitHub Actions / lint

missing header

Check warning on line 1 in playwright_test/Pages/apfAuth.page.ts

View workflow job for this annotation

GitHub Actions / lint

'electron' is defined but never used
let electronApp: ElectronApplication

Check warning on line 2 in playwright_test/Pages/apfAuth.page.ts

View workflow job for this annotation

GitHub Actions / lint

'electronApp' is defined but never used

Check warning on line 2 in playwright_test/Pages/apfAuth.page.ts

View workflow job for this annotation

GitHub Actions / lint

'electronApp' is defined but never used

class ApfAuthPage{
page: Page;
Expand Down Expand Up @@ -83,6 +83,9 @@
this.dataset_prefix_value = page.getByLabel('Dataset Prefix')
this.auth_load_lib_value = page.getByLabel('APF Authorized Load Library')
this.auth_plugin_lib_value = page.getByLabel('Zowe ZIS Plugins Load Library')

//this.select_SMPE = page.getByLabel('//button[contains(text(),"SMP/E")]')
this.select_SMPE = page.locator('span:has-text("SMP/E")');

}
async returnTitleOfApfAuthPage(){
Expand All @@ -93,6 +96,13 @@
async movetoApfAuthPage(){
await this.click_ApfAuth.click({timeout: 9000})
}

async selectInstallationType(){
await this.select_SMPE.waitFor({ state: 'visible', timeout: 9000 }); // Adjust timeout if needed
console.log('SMP/E span is visible.');
await this.select_SMPE.click({timeout: 9000})
}

async movetoInstallationPage(){
await this.licenseAgreement.click({timeout: 9000})
await this.acceptLicense.click({timeout: 9000})
Expand Down
19 changes: 8 additions & 11 deletions playwright_test/Pages/connection.page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Page,Locator } from '@playwright/test';

Check failure on line 1 in playwright_test/Pages/connection.page.ts

View workflow job for this annotation

GitHub Actions / lint

missing header

Check failure on line 1 in playwright_test/Pages/connection.page.ts

View workflow job for this annotation

GitHub Actions / lint

missing header

class ConnectionPage{
page: Page;
Expand All @@ -24,19 +24,17 @@
this.resumeProgress = page.locator('//button[contains(text(),"Resume Progress")]')
this.continueButton = page.locator('.MuiButton-containedPrimary.MuiButton-sizeMedium')
this.greenCheckIconSelector = page.locator('.MuiContainer-root svg[data-testid="CheckCircleIcon"]')



}
async fillConnectionDetails(host: string, port: string, username: string, password: string){
await this.page.waitForTimeout(1000);
await this.host.fill(host)
console.log("Filling connection details...");
await this.host.fill(host);
await this.page.waitForTimeout(1000);
await this.port.fill(port)
await this.page.waitForTimeout(1000);
await this.userName.fill(username)
await this.page.waitForTimeout(1000);
await this.password.fill(password)
await this.password.fill(password);
console.log("Connection details filled.");
}

async getHostValue(){
Expand All @@ -60,8 +58,10 @@
}

async SubmitValidateCredential(){
console.log("Submitting credentials...");
await this.page.waitForTimeout(1000);
await this.validateCredential.click()
await this.validateCredential.click();
console.log("Credentials submitted.");
}

async clickContinueButton() {
Expand All @@ -75,12 +75,9 @@
async isContinueButtonVisible() {
return await this.continueButton.isDisabled();
}
async clickContinueButton() {
return await this.continueButton.click();
}
async isGreenCheckIconVisible() {
return await this.greenCheckIconSelector.isHidden();
}
}

export default ConnectionPage;
export default ConnectionPage;
92 changes: 59 additions & 33 deletions playwright_test/Pages/installation.page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Page,Locator } from '@playwright/test';

Check failure on line 1 in playwright_test/Pages/installation.page.ts

View workflow job for this annotation

GitHub Actions / lint

missing header

Check failure on line 1 in playwright_test/Pages/installation.page.ts

View workflow job for this annotation

GitHub Actions / lint

missing header

class InstallationPage{
page: Page;
Expand Down Expand Up @@ -50,94 +50,86 @@
return await this.pageTitle.textContent({ timeout: 2000 });
}

async enterPrefix(prefix: any){
async enterPrefix(prefix: string): Promise<void>{
await this.page.waitForTimeout(500)
await this.prefix.fill(prefix);
}

async getPrefixValue(){
await this.page.waitForTimeout(500)
return await this.prefix.textContent();
async getPrefixValue(): Promise<string> {
return await this.prefix.inputValue();
}

async enterProcLib(proclib: any){
async enterProcLib(proclib: string): Promise<void> {
await this.page.waitForTimeout(500)
await this.procLib.fill(proclib);
}

async getProclibValue(){
await this.page.waitForTimeout(500)
return await this.procLib.textContent();

async getProclibValue(): Promise<string> {
return await this.procLib.inputValue();
}

async enterParmLib(parmlib: any){
async enterParmLib(parmlib: string): Promise<void>{
await this.page.waitForTimeout(500)
await this.parmLib.fill(parmlib);
}

async getParmlibValue(){
await this.page.waitForTimeout(500)
return await this.parmLib.textContent();
async getParmlibValue(): Promise<string> {
return await this.parmLib.inputValue();
}

async enterZis(zis: any){
async enterZis(zis: string): Promise<void> {
await this.page.waitForTimeout(500)
await this.zis.fill(zis);
}

async enterJclLib(Jcllib: any){
async enterJclLib(Jcllib: string): Promise<void> {
await this.page.waitForTimeout(500)
await this.jclLib.fill(Jcllib);
}

async enterLoadLib(loadlib: any){
async enterLoadLib(loadlib: string): Promise<void>{
await this.page.waitForTimeout(500)
await this.loadLib.fill(loadlib);
}

async enterAuthLoadLib(authloadlib: any){
await this.page.waitForTimeout(500)
async enterAuthLoadLib(authloadlib: string): Promise<void> {
await this.authLoadLib.fill(authloadlib);
await this.page.waitForTimeout(5000)
}

async getAuthLoadLibValue(){
await this.page.waitForTimeout(500)
return await this.authLoadLib.textContent();
async getAuthLoadLibValue(): Promise<string> {
return await this.authLoadLib.inputValue();
}

async enterAuthPluginLib(authpluginlib: any){
await this.page.waitForTimeout(500)
async enterAuthPluginLib(authpluginlib: string): Promise<void> {
await this.authPluginLib.fill(authpluginlib);
await this.page.waitForTimeout(5000)
}

async getAuthPluginLibValue(){
await this.page.waitForTimeout(500)
return await this.authPluginLib.textContent();
async getAuthPluginLibValue(): Promise<string> {
return await this.authPluginLib.inputValue();
}

async clickInstallMvsDatasets(){
await this.page.waitForTimeout(1000)
await this.installMVSDatasets.click();
await this.installMVSDatasets.click();
await this.waitForContinueButtonToBeEnabled();
}

async clickViewEditYaml(){
await this.page.waitForTimeout(500)
await this.viewEditYaml.click();
}

async clickViewSubmitJob(){
await this.page.waitForTimeout(500)
await this.viewSubmitJob.click();
}

async clickViewJobOutput(){
await this.page.waitForTimeout(500)
await this.viewJobOutput.click();
await this.page.waitForTimeout(2000);
}

async clickSaveAndClose(){
await this.page.waitForTimeout(500)
await this.saveAndClose.click({timeout: 2000});
}

Expand All @@ -157,14 +149,30 @@
}

async isContinueToNetworkSetupDisabled(){
await this.page.waitForTimeout(500)
return await this.continueToNetworkSetup.isDisabled()
}

async isContinueToNetworkSetupEnabled(){
await this.page.waitForTimeout(500)
return await this.continueToNetworkSetup.isEnabled()
}

async isSkipToNetworkSetupEnabled(){
return await this.skipInstallation.isEnabled()
}

private async waitForContinueButtonToBeEnabled(): Promise<void> {
const timeout = 100000;
const interval = 500;
const endTime = Date.now() + timeout;
while (Date.now() < endTime) {
if (await this.isContinueToNetworkSetupEnabled()) {
return;
}
await this.page.waitForTimeout(interval);
}

throw new Error('Continue button was not enabled within the timeout period');
}

async open_monacoEditor(){
await this.page.waitForTimeout(1000)
Expand All @@ -177,5 +185,23 @@
await this.page.waitForTimeout(500)
await this.closeEditorButton.click();
}

async clickInstallMvsDatasetsInvalid(){
await this.installMVSDatasets.click();
}

async fillAllFields(datasetPrefix: string, parmLib: string, procLib: string, jclLib: string, loadLib: string, authLoadLib: string, authPluginLib: string){
await this.enterPrefix(datasetPrefix);
await this.enterParmLib(parmLib);
await this.enterProcLib(procLib);
await this.enterJclLib(jclLib);
await this.enterLoadLib(loadLib);
await this.enterAuthLoadLib(authLoadLib);
await this.enterAuthPluginLib(authPluginLib);
await this.enterAuthLoadLib(authLoadLib);
await this.enterAuthPluginLib(authPluginLib);
await this.enterAuthLoadLib(authLoadLib);
await this.enterAuthPluginLib(authPluginLib);
}
}
export default InstallationPage;
Loading
Loading