mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 04:14:34 +00:00
uncommented details page tests and corrected selenium workflow paths (#1616)
This commit is contained in:
parent
a3e7963543
commit
d069ab72e0
4
.github/workflows/selenium-tests.yml
vendored
4
.github/workflows/selenium-tests.yml
vendored
@ -18,12 +18,12 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'openmetadata-ui/src/main/resource/ui/**'
|
||||
- 'openmetadata-ui/src/main/resources/ui/**'
|
||||
- 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'openmetadata-ui/src/main/resource/ui/**'
|
||||
- 'openmetadata-ui/src/main/resources/ui/**'
|
||||
- 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/**'
|
||||
|
||||
jobs:
|
||||
|
@ -187,9 +187,9 @@ public class DashboardDetailsPageTest {
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='data-name']"));
|
||||
Thread.sleep(waitTime);
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='breadcrumb-link']"));
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
// Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
for (int i = 1; i <= 3; i++) { //check topics in service
|
||||
Events.click(webDriver, By.xpath("(//tr[@data-testid='column']//td[1]/a)" + "[" + i + "]")); // dashboards
|
||||
Thread.sleep(waitTime);
|
||||
|
@ -164,9 +164,9 @@ public class PipelineDetailsPageTest {
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='data-name'][id ='sample_airflowdim_product_etl']"));
|
||||
Thread.sleep(waitTime);
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='breadcrumb-link']"));
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
// Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
for (int i = 1; i <= 3; i++) { //check topics in service
|
||||
Events.click(webDriver, By.xpath("(//tr[@data-testid='column']//td[1]/a)" + "[" + i + "]")); // pipelines
|
||||
Thread.sleep(waitTime);
|
||||
|
@ -206,9 +206,9 @@ public class TableDetailsPageTest {
|
||||
openExplorePage();
|
||||
Events.click(webDriver, By.xpath("(//a[@data-testid='table-link'])[last()]"));
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='breadcrumb-link']"));
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
// Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
Events.click(webDriver, By.xpath("(//tr[@data-testid='column']//td[1]/a)[1]")); // database
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='description-edit-button']")); // edit description
|
||||
// Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
|
@ -162,9 +162,9 @@ public class TopicDetailsPageTest {
|
||||
wait.until(ExpectedConditions.elementToBeClickable(By.cssSelector("[data-testid='breadcrumb-link']")));
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='breadcrumb-link']"));
|
||||
wait.until(ExpectedConditions.elementToBeClickable(By.cssSelector("[data-testid='description-edit']")));
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
// Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
// Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='description-edit']")); // edit description
|
||||
Events.sendKeys(webDriver, By.xpath(enterDescription), faker.address().toString());
|
||||
Events.click(webDriver, By.cssSelector("[data-testid='save']"));
|
||||
for (int i = 1; i <= 3; i++) { //check topics in service
|
||||
Events.click(webDriver, By.xpath("(//tr[@data-testid='column']//td[1]/a)" + "[" + i + "]")); // topics
|
||||
Thread.sleep(waitTime);
|
||||
|
Loading…
x
Reference in New Issue
Block a user