console icon indicating copy to clipboard operation
console copied to clipboard

Automate DevConsole Interop WTO Scenarios

Open musienko-maxim opened this issue 4 years ago • 29 comments

Jira Id: https://issues.redhat.com/browse/WTO-73 Checks for approving Epic scenarios Automation PR:

  • [ ] Execute the @to-do tagged gherkin scripts manually
  • [x] Convert the @to-do gherkin scripts to cypress automation scripts
  • [x] Once scripts are automated, replace tag @to-do with @epic-number
  • [x] Execute the scripts in Remote cluster Cluster Setup:
- export NO_HEADLESS=true && export CHROME_VERSION=$(/usr/bin/google-chrome-stable --version)
- BRIDGE_KUBEADMIN_PASSWORD=******
- BRIDGE_BASE_ADDRESS=https://console-openshift-console.apps.dev-svc-4.8-042801.devcluster.openshift.com
- export BRIDGE_KUBEADMIN_PASSWORD`
- export BRIDGE_BASE_ADDRESS
- oc login -u kubeadmin -p $BRIDGE_KUBEADMIN_PASSWORD
- oc apply -f ./frontend/integration-tests/data/htpasswd-secret.yaml
- oc patch oauths cluster --patch "$(cat ./frontend/integration-tests/data/patch-htpasswd.yaml)" --type=merge

Test Setup:

  • Replace "TAGS": "@smoke and not @manual and not @to-do", with " (@smoke or @regression) and not (@Manual or @to-do)", in topology/cypress.json under env
  • Run ./test-cypress.sh -p topology in console
  • Execute feature files from: frontend/packages/dev-console/integration-tests/features/web-terminal folder
  1. web-teminal-basic.feature
  2. web-terminal-adminuser.feature
  3. web-terminal-devuser.feature

Results: Selection_012 Selection_013 Selection_014

musienko-maxim avatar Apr 28 '21 11:04 musienko-maxim

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: musienko-maxim To complete the pull request process, please assign makambalaji after the PR has been reviewed. You can assign the PR to them by writing /assign @makambalaji in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci-robot avatar Apr 28 '21 11:04 openshift-ci-robot

Hi @musienko-maxim. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci-robot avatar Apr 28 '21 11:04 openshift-ci-robot

Screenshot from 2021-07-19 17-01-31

@makambalaji test cases are failing because of the above issue. Cna you please have a look?

gajanan-more avatar Jul 19 '21 11:07 gajanan-more

Screenshot from 2021-07-19 17-01-31

@makambalaji test cases are failing because of the above issue. Cna you please have a look?

consoledeveloper.sh needs to be executed before these scripts, because clusters created usually doesn't contain console developer user @musienko-maxim - Can you please add this step

makambalaji avatar Jul 19 '21 11:07 makambalaji

Feature files looks good and there is no much modifications to affect the existing code. so adding lgtm. But scripts are failing. need to raise a separate bug and should visit again

/lgtm

makambalaji avatar Sep 03 '21 16:09 makambalaji

Adding below labels for merging purpose. /label px-approved /label qe-approved /label docs-approved

makambalaji avatar Sep 03 '21 16:09 makambalaji

/ok-to-test

makambalaji avatar Sep 03 '21 16:09 makambalaji

/hold PR contains merge conflict, needs to fix it

makambalaji avatar Sep 04 '21 12:09 makambalaji

/unhold

makambalaji avatar Nov 10 '21 09:11 makambalaji

/test e2e-gcp-console

makambalaji avatar Nov 10 '21 09:11 makambalaji

/test e2e-gcp-console

makambalaji avatar Nov 11 '21 08:11 makambalaji

@musienko-maxim Hi Maksym, any updates on this? Thx

psrna avatar Nov 29 '21 15:11 psrna

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Mar 09 '22 05:03 openshift-bot

@musienko-maxim: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Mar 09 '22 05:03 openshift-ci[bot]

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

openshift-bot avatar Apr 08 '22 05:04 openshift-bot

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

openshift-bot avatar May 08 '22 06:05 openshift-bot

@openshift-bot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar May 08 '22 06:05 openshift-ci[bot]

/reopen

ibuziuk avatar Jun 30 '22 08:06 ibuziuk

@ibuziuk: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Jun 30 '22 08:06 openshift-ci[bot]

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

openshift-bot avatar Jul 30 '22 13:07 openshift-bot

@openshift-bot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Jul 30 '22 13:07 openshift-ci[bot]

/reopen

musienko-maxim avatar Aug 01 '22 14:08 musienko-maxim

reopen

musienko-maxim avatar Aug 01 '22 14:08 musienko-maxim

/reopen

musienko-maxim avatar Aug 01 '22 14:08 musienko-maxim

@musienko-maxim: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Aug 01 '22 14:08 openshift-ci[bot]

@musienko-maxim: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Aug 01 '22 14:08 openshift-ci[bot]

/assign @sanketpathak

musienko-maxim avatar Aug 22 '22 14:08 musienko-maxim

@musienko-maxim Getting this when running web-terminal-basic.feature file Screenshot from 2022-08-25 12-12-24

sanketpathak avatar Aug 25 '22 06:08 sanketpathak

@musienko-maxim Getting this when running web-terminal-basic.feature file Screenshot from 2022-08-25 12-12-24

I've not fixed the web-terminal-devuser.feature and web-teminal-basic.feature. I do not know which option will be better to fix it in this commit or merge it and create a second one?

musienko-maxim avatar Aug 25 '22 08:08 musienko-maxim

/remove-label qe-approved

christoph-jerolimov avatar Aug 30 '22 08:08 christoph-jerolimov