Skip to content
Snippets Groups Projects
Unverified Commit 97943a84 authored by github-automation-metabase's avatar github-automation-metabase Committed by GitHub
Browse files

:robot: backported "Create metric button and docs link in empty state" (#48685)


* Create metric button and docs link in empty state (#48468)

* Add 'Create metric' button to empty metrics page

* Add e2e test for 'Create metric' button

* Remove duplicate main on Browse page

* Add docs link

* Split off common test for BrowseMetrics

* Add whitespace

Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>

* Use cy.button

Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>

* Hide Create metric button when the user does not have data access

* Use findByText for link

* Add test for hiding the 'Create metric' button when the user does not have data access

* Fix unit tests

* Improve copy

Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>

* Add whitespace

Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>

* Add explanatory comment for enterprise

---------

Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>

* Update failing loki test

---------

Co-authored-by: default avatarRomeo Van Snick <romeo@romeovansnick.be>
Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>
parent b1630529
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment