-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ABAP - support inline statements Signed-off-by: Iliyan Velichkov <[email protected]> * add comment Signed-off-by: Iliyan Velichkov <[email protected]> * roolback DatabaseResultSetHelper.java Signed-off-by: Iliyan Velichkov <[email protected]> * enhance UI testing module Signed-off-by: Iliyan Velichkov <[email protected]> --------- Signed-off-by: Iliyan Velichkov <[email protected]>
- Loading branch information
1 parent
97e9408
commit 71fe834
Showing
14 changed files
with
182 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/WelcomeView.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
package org.eclipse.dirigible.tests; | ||
|
||
import org.eclipse.dirigible.tests.framework.Browser; | ||
import org.eclipse.dirigible.tests.framework.HtmlAttribute; | ||
import org.eclipse.dirigible.tests.framework.HtmlElementType; | ||
import org.springframework.context.annotation.Lazy; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Lazy | ||
@Component | ||
public class WelcomeView { | ||
|
||
private final Browser browser; | ||
|
||
public WelcomeView(Browser browser) { | ||
this.browser = browser; | ||
} | ||
|
||
public void expandProject(String projectName) { | ||
browser.doubleClickOnElementContainingText(HtmlElementType.ANCHOR, projectName); | ||
} | ||
|
||
public void openFile(String fileName) { | ||
browser.doubleClickOnElementContainingText(HtmlElementType.ANCHOR, fileName); | ||
} | ||
|
||
public void searchForTemplate(String template) { | ||
browser.enterTextInElementByAttributePattern(HtmlElementType.INPUT, HtmlAttribute.PLACEHOLDER, "Search template by name", template); | ||
} | ||
|
||
public void selectTemplate(String templateTitle) { | ||
browser.clickOnElementContainingText(HtmlElementType.ANCHOR, templateTitle); | ||
} | ||
|
||
public void typeProjectName(String projectName) { | ||
browser.enterTextInElementByAttributePattern(HtmlElementType.INPUT, HtmlAttribute.ID, "projectName", projectName); | ||
} | ||
|
||
public void typeFileName(String fileName) { | ||
browser.enterTextInElementByAttributePattern(HtmlElementType.INPUT, HtmlAttribute.ID, "fileName", fileName); | ||
} | ||
|
||
public void confirmTemplate() { | ||
browser.clickOnElementContainingText(HtmlElementType.BUTTON, "Ok"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.