Skip to content

Commit

Permalink
test: exluding from airgap list of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
“NandanAnantharamu” committed Jan 13, 2025
1 parent 635de37 commit 1d80e93
Showing 1 changed file with 52 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,55 +11,59 @@ import EditorNavigation, {
} from "../../../../support/Pages/EditorNavigation";
import ReconnectLocators from "../../../../locators/ReconnectLocators";

describe("Tests Import option for normal apps at app level", {}, () => {
before(() => {
gitSync.CreateNConnectToGit();
});
describe(
"Tests Import option for normal apps at app level",
{ tags: ["@tag.excludeForAirgap"] },
() => {
before(() => {
gitSync.CreateNConnectToGit();
});

it("1. Verify Import Option at app level", () => {
let Datasource = [
"AWSLambda",
"Airtable",
"GSheets_RWDSelected",
"GSheets_RWDAll",
"Hubspot",
"gsheet",
"Twilio",
"Dynamo",
"ElasticSearch",
"Firestore",
"Movies",
"Mongo",
"Oracle",
"Redshift",
"PostGreSQL",
"SMTP",
"Snowflake",
"S3",
"Oauth2.0",
"Pixabay",
"OpenAI",
];
AppSidebar.navigate(AppSidebarButton.Settings);
agHelper.GetNClick(appSettings.locators._importHeader);
agHelper.AssertElementEnabledDisabled(appSettings.locators._importBtn);
it("1. Verify Import Option at app level", () => {
let Datasource = [
"AWSLambda",
"Airtable",
"GSheets_RWDSelected",
"GSheets_RWDAll",
"Hubspot",
"gsheet",
"Twilio",
"Dynamo",
"ElasticSearch",
"Firestore",
"Movies",
"Mongo",
"Oracle",
"Redshift",
"PostGreSQL",
"SMTP",
"Snowflake",
"S3",
"Oauth2.0",
"Pixabay",
"OpenAI",
];
AppSidebar.navigate(AppSidebarButton.Settings);
agHelper.GetNClick(appSettings.locators._importHeader);
agHelper.AssertElementEnabledDisabled(appSettings.locators._importBtn);

homePage.NavigateToHome();
homePage.CreateNewApplication();
AppSidebar.navigate(AppSidebarButton.Settings);
agHelper.GetNClick(appSettings.locators._importHeader);
agHelper.AssertElementEnabledDisabled(
appSettings.locators._importBtn,
0,
false,
);
agHelper.GetNClick(appSettings.locators._importBtn);
homePage.ImportApp("TryToCoverMore.json", "", true);
agHelper.GetNClick(ReconnectLocators.SkipToAppBtn);
homePage.NavigateToHome();
homePage.CreateNewApplication();
AppSidebar.navigate(AppSidebarButton.Settings);
agHelper.GetNClick(appSettings.locators._importHeader);
agHelper.AssertElementEnabledDisabled(
appSettings.locators._importBtn,
0,
false,
);
agHelper.GetNClick(appSettings.locators._importBtn);
homePage.ImportApp("TryToCoverMore.json", "", true);
agHelper.GetNClick(ReconnectLocators.SkipToAppBtn);

AppSidebar.navigate(AppSidebarButton.Data);
Datasource.forEach((ds) => {
agHelper.GetNAssertContains(locators._listItemTitle, ds);
AppSidebar.navigate(AppSidebarButton.Data);
Datasource.forEach((ds) => {
agHelper.GetNAssertContains(locators._listItemTitle, ds);
});
});
});
});
},
);

0 comments on commit 1d80e93

Please sign in to comment.