Skip to content

Added snapshot restore smoke test to ensure the app has loaded.#39812

Merged
cuff-links merged 9 commits intoelastic:masterfrom
cuff-links:Snapshot_Repositories_App_Load_Test
Jul 6, 2019
Merged

Added snapshot restore smoke test to ensure the app has loaded.#39812
cuff-links merged 9 commits intoelastic:masterfrom
cuff-links:Snapshot_Repositories_App_Load_Test

Conversation

@cuff-links
Copy link
Contributor

Fixes #39286

@elasticmachine
Copy link
Contributor

💔 Build Failed

@spalger
Copy link
Contributor

spalger commented Jun 27, 2019

eslint issues fixed in master

@cuff-links
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

@cuff-links
Copy link
Contributor Author

retest

@cuff-links
Copy link
Contributor Author

Failure had nothing to do with this test.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@jen-huang jen-huang added Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.3.0 v8.0.0 labels Jul 1, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

Copy link
Contributor

@jen-huang jen-huang left a comment

Choose a reason for hiding this comment

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

Code LGTM! This PR just needs to be updated with latest master, and there may be a few things that need to be changed after updating (see comments).

});

it('Loads the app', async () => {
const appTitle = 'Snapshot Repositories';
Copy link
Contributor

Choose a reason for hiding this comment

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

#39193 was merged, so when this PR is updated with latest master, this should be changed to Snapshot and Restore

const appTitleText = await pageObjects.snapshotRestore.appTitleText();
expect(appTitleText).to.be(appTitle);

const repositoriesButton = await pageObjects.snapshotRestore.registerRepositoryButton();
Copy link
Contributor

Choose a reason for hiding this comment

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

(similar to previous) #39193 was merged, which changed the default tab to Snapshots instead of Repositories. I think this assertion is still valid, because we show the register repository button on empty snapshot list as well, but might want to double check

Copy link
Contributor Author

@cuff-links cuff-links Jul 2, 2019

Choose a reason for hiding this comment

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

Yes. This assertion still works. Thanks for the thorough eye.

@jen-huang jen-huang added release_note:skip Skip the PR/issue when compiling release notes and removed release_note:enhancement labels Jul 1, 2019
@jen-huang
Copy link
Contributor

@elastic/es-ui I changed the release note flagging on this PR to release_note:skip instead of release_note:enhancement. I think PRs which just add tests don't need to be talked about in the release notes, let me know if you feel otherwise.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@cjcenizal
Copy link
Contributor

Retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@cjcenizal cjcenizal added v7.4.0 and removed v7.3.0 labels Jul 3, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@cuff-links cuff-links merged commit a965a06 into elastic:master Jul 6, 2019
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Jul 6, 2019
…tic#39812)

* Added snapshot restore smoke test to ensure the app has loaded.

* Fixed linting issues.

* Updated test to reflect changes to Snapshot and Restore's name.

* Fixed merge update.
cuff-links pushed a commit that referenced this pull request Jul 7, 2019
…) (#40459)

* Added snapshot restore smoke test to ensure the app has loaded.

* Fixed linting issues.

* Updated test to reflect changes to Snapshot and Restore's name.

* Fixed merge update.
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Jul 7, 2019
…tic#39812)

* Added snapshot restore smoke test to ensure the app has loaded.

* Fixed linting issues.

* Updated test to reflect changes to Snapshot and Restore's name.

* Fixed merge update.
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Jul 8, 2019
cuff-links pushed a commit that referenced this pull request Jul 8, 2019
* Revert "Fixed import from a different PR."

This reverts commit 4ecbddc.

* Revert "Added snapshot restore smoke test to ensure the app has loaded. (#39812)"

This reverts commit 95c6158.
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Jul 9, 2019
…tic#39812)

* Added snapshot restore smoke test to ensure the app has loaded.

* Fixed linting issues.

* Updated test to reflect changes to Snapshot and Restore's name.

* Fixed merge update.
cuff-links pushed a commit that referenced this pull request Jul 9, 2019
…) (#40561)

* Added snapshot restore smoke test to ensure the app has loaded.

* Fixed linting issues.

* Updated test to reflect changes to Snapshot and Restore's name.

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

Labels

Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.4.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add smoke test for Snapshot Repositories

5 participants