Skip to content

Add setup script for console e2e tests - #990

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
jcaianirh:e2e-test-script
Jan 22, 2019
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
jcaianirh:e2e-test-script

Conversation

@jcaianirh

Copy link
Copy Markdown
Member

For jira issue: https://jira.coreos.com/browse/CONSOLE-494

Add setup script for console e2e tests to:

  1. Define and export ARTIFACT_DIR
  2. Run the build script
  3. Set up test environment using oc-environment script
  4. Provide kubeadmin password in:
    /tmp/artifacts/installer/auth/kubeadmin-password
  5. Log into console as kubeadmin

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 20, 2018
Comment thread test-gui-e2e-setup.sh Resolved
@jcaianirh
jcaianirh force-pushed the e2e-test-script branch 2 times, most recently from 38e5ada to 4059bb0 Compare January 8, 2019 21:57
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 8, 2019
@jcaianirh jcaianirh changed the title [WIP]: Add setup script for console e2e tests Add setup script for console e2e tests Jan 10, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 10, 2019
@jcaianirh

Copy link
Copy Markdown
Member Author

@spadgett this is ready for review and merge.

@jcaianirh
jcaianirh force-pushed the e2e-test-script branch 2 times, most recently from 7c532bc to f964884 Compare January 14, 2019 18:35
Comment thread test-gui-e2e-setup.sh Resolved
Comment thread test-gui.sh Resolved
Comment thread test-gui.sh Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't test Service Catalog anymore?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alecmerdler the service catalog is not yet enabled in prow.

@spadgett spadgett Jan 17, 2019 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This specific flag controls testing just a single resource in the crud tests:

https://github.com/openshift/console/blob/master/frontend/integration-tests/tests/crud.scenario.ts#L45-L46

We'll need to look at enabling service catalog in prow to run the service catalog suite.

@spadgett

Copy link
Copy Markdown
Member

@alecmerdler Is there any additional configuration needed to run the OLM suite against a fresh 4.0 install? Or should it work out-of-the-box?

@spadgett

Copy link
Copy Markdown
Member

jenkins rebuild

1 similar comment
@spadgett

Copy link
Copy Markdown
Member

jenkins rebuild

@jcaianirh
jcaianirh force-pushed the e2e-test-script branch 2 times, most recently from da34752 to 363f801 Compare January 22, 2019 16:12

@spadgett spadgett left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 22, 2019
@spadgett

Copy link
Copy Markdown
Member

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 22, 2019
Comment thread test-gui-e2e-setup.sh Resolved
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 22, 2019
@spadgett

Copy link
Copy Markdown
Member

Thanks @jcaianirh. Do you mind removing the comment in the script file per @alecmerdler's feedback?

@spadgett

Copy link
Copy Markdown
Member

lgtm, please squash

@spadgett

Copy link
Copy Markdown
Member

/hold cancel

This will need to be backported to the release-3.11 branch as well

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 22, 2019

@spadgett spadgett left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 22, 2019
@openshift-merge-robot
openshift-merge-robot merged commit 1007ab7 into openshift:master Jan 22, 2019
@spadgett

Copy link
Copy Markdown
Member

@jcaianirh can you backport this to release-3.11? we'll need to leave off any tests that don't exist in that branch (newApp, overview, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants