Chore: improve some more types (#60476)

* improve some more types

* fixes

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
Ashley Harrison
2022-12-20 13:07:57 +00:00
committed by GitHub
co-authored by Zoltán Bedi
parent 55b014974d
commit ba6d2f2a82
12 changed files with 43 additions and 66 deletions
@@ -33,8 +33,8 @@ describe.skip('TextBox - change query scenarios', function () {
saveDashboard(false);
e2e()
.get('@dashuid')
.then((dashuid: any) => {
.get<string>('@dashuid')
.then((dashuid) => {
expect(dashuid).not.to.eq(PAGE_UNDER_TEST);
e2e.flows.openDashboard({ uid: dashuid });
@@ -59,8 +59,8 @@ describe.skip('TextBox - change query scenarios', function () {
saveDashboard(true);
e2e()
.get('@dashuid')
.then((dashuid: any) => {
.get<string>('@dashuid')
.then((dashuid) => {
expect(dashuid).not.to.eq(PAGE_UNDER_TEST);
e2e.flows.openDashboard({ uid: dashuid });
@@ -85,8 +85,8 @@ describe.skip('TextBox - change picker value scenarios', function () {
saveDashboard(false);
e2e()
.get('@dashuid')
.then((dashuid: any) => {
.get<string>('@dashuid')
.then((dashuid) => {
expect(dashuid).not.to.eq(PAGE_UNDER_TEST);
e2e.flows.openDashboard({ uid: dashuid });
@@ -108,8 +108,8 @@ describe.skip('TextBox - change picker value scenarios', function () {
saveDashboard(true);
e2e()
.get('@dashuid')
.then((dashuid: any) => {
.get<string>('@dashuid')
.then((dashuid) => {
expect(dashuid).not.to.eq(PAGE_UNDER_TEST);
e2e.flows.openDashboard({ uid: dashuid });