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

FTR: clear browser storage between test suites #48683

Merged

Conversation

dmlemeshko
Copy link
Member

@dmlemeshko dmlemeshko commented Oct 18, 2019

Summary

In order to make test suites independent from browser perspective, we can clean session and local storages after each describe function. In this case describe block cannot rely on previous file/describe block to finish at some point and should handle pre-conditions on its own.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@spalger
Copy link
Contributor

spalger commented Oct 25, 2019

@elasticmachine merge upstream

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM on green

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@dmlemeshko dmlemeshko marked this pull request as ready for review October 25, 2019 23:52
@dmlemeshko dmlemeshko added release_note:skip Skip the PR/issue when compiling release notes v8.0.0 v7.6.0 labels Oct 25, 2019
@dmlemeshko dmlemeshko requested a review from LeeDr October 25, 2019 23:56
@dmlemeshko
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

elasticmachine commented Oct 26, 2019

💔 Build Failed

Xpack-ciGroup3

  1. machine learning
    anomaly detection
    saved search
    with filter
    job creation loads the job type selection page:
    Error: expected testSubject(mlPageJobTypeSelection) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)

@dmlemeshko
Copy link
Member Author

retest

@dmlemeshko dmlemeshko requested a review from a team as a code owner October 27, 2019 22:59
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@dmlemeshko
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@dmlemeshko dmlemeshko requested a review from pheyos October 28, 2019 02:03
Copy link
Member

@pheyos pheyos left a comment

Choose a reason for hiding this comment

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

LGTM

@dmlemeshko
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@dmlemeshko dmlemeshko merged commit d9a5acf into elastic:master Oct 28, 2019
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Oct 28, 2019
* clear browser storage on test suite completion

* [logstash/pipeline_list] fix tests dependency

* always load new index data
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Oct 28, 2019
* clear browser storage on test suite completion

* [logstash/pipeline_list] fix tests dependency

* always load new index data
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Oct 28, 2019
* clear browser storage on test suite completion

* [logstash/pipeline_list] fix tests dependency

* always load new index data
dmlemeshko added a commit that referenced this pull request Oct 28, 2019
* clear browser storage on test suite completion

* [logstash/pipeline_list] fix tests dependency

* always load new index data
dmlemeshko added a commit that referenced this pull request Oct 28, 2019
* clear browser storage on test suite completion

* [logstash/pipeline_list] fix tests dependency

* always load new index data
dmlemeshko added a commit that referenced this pull request Nov 7, 2019
* FTR: clear browser storage between test suites (#48683)

* clear browser storage on test suite completion

* [logstash/pipeline_list] fix tests dependency

* always load new index data

* remove files
@dmlemeshko dmlemeshko deleted the ftr/clear-browser-storage-between-tests branch January 31, 2022 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.5.1 v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants