Skip to content

Commit

Permalink
use correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
sunker committed Oct 1, 2024
1 parent c7dd7e8 commit e5daed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-e2e/src/models/pages/PanelEditPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class PanelEditPage extends GrafanaPage {
* In versions prior to 10.3.0, this method clicks the "Apply" button instead
*/
async backToDashboard() {
if (semver.gte(this.ctx.grafanaVersion, '10.3.0')) {
if (semver.gte(this.ctx.grafanaVersion, '11.3.0')) {
await this.getByGrafanaSelector(
this.ctx.selectors.components.NavToolbar.editDashboard.backToDashboardButton
).click();
Expand Down

0 comments on commit e5daed5

Please sign in to comment.