Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests #2

Merged
merged 112 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
0ea54da
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Aug 28, 2024
fb3c70f
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Aug 28, 2024
b228061
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
Aug 29, 2024
0ac38be
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Aug 30, 2024
66269d5
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
Sep 4, 2024
1735c6c
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 5, 2024
0fadaf2
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
Sep 9, 2024
1ba0bdd
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
Sep 9, 2024
9674d7b
Revert "IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal…
mnhnam-axonivy Sep 10, 2024
14f9594
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 11, 2024
ba28f4e
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 11, 2024
08f6e22
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 12, 2024
3520559
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 12, 2024
b4f007a
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 12, 2024
9d4ce23
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 12, 2024
ff95f71
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 12, 2024
7e483e7
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 12, 2024
7cd09fe
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 12, 2024
efab144
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Sep 13, 2024
3eda13d
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Sep 14, 2024
36e7ab0
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Sep 15, 2024
11bbbcf
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 16, 2024
3bcfba8
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 16, 2024
46c2075
Merge branch 'develop' of https://github.com/mnhnam-axonivy/ai-assist…
mnhnam-axonivy Sep 16, 2024
8b8108d
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Sep 16, 2024
873b9d5
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
Sep 17, 2024
b42b14f
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Sep 17, 2024
0a27d5a
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Sep 18, 2024
a23a52a
Merge pull request #1 from mnhnam-axonivy/IVYPORTAL-17537-AI-Assistan…
mnhnam-axonivy Sep 18, 2024
505b49d
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 19, 2024
cbd9bab
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 19, 2024
415a5cb
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 19, 2024
8045b8f
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 23, 2024
62ec29d
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 23, 2024
a71b7b9
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Sep 24, 2024
b61c7de
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 24, 2024
c77c3ed
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 24, 2024
e259409
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 24, 2024
c4966fa
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 24, 2024
c1a0e6c
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 24, 2024
932dfec
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 24, 2024
abca19b
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 24, 2024
2e6eb00
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 25, 2024
ce3e4b3
Revert "IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal…
mnhnam-axonivy Sep 25, 2024
37aa8cd
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Sep 25, 2024
d50e7e5
Merge branch 'develop' of https://github.com/mnhnam-axonivy/ai-assist…
lttung-axonivy Sep 25, 2024
7978a8f
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Sep 25, 2024
b067890
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Sep 25, 2024
1fcf0e9
Feature/ivyportal 17131 stage 1 create a marketplace item for portal …
lttung-axonivy Sep 26, 2024
1e81047
IVYPORTAL-17432 Stage 1: Create a Marketplace item for Portal Assista…
mnhnam-axonivy Sep 27, 2024
11670bf
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Sep 27, 2024
c8f9710
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Sep 30, 2024
3f4adc5
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 1, 2024
0eab213
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Oct 4, 2024
567b73c
Merge branch 'develop' of https://github.com/mnhnam-axonivy/ai-assist…
lttung-axonivy Oct 4, 2024
cf8ab84
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Oct 7, 2024
d9f6d3e
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Oct 7, 2024
a10ac77
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Oct 7, 2024
5eae488
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Oct 7, 2024
eb23339
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 7, 2024
9c25aae
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 7, 2024
f28455c
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Oct 7, 2024
23304c6
Merge branch 'IVYPORTAL-16305-stage-2-assistant-details-function-list…
mnhnam-axonivy Oct 7, 2024
3ef5f22
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
lttung-axonivy Oct 7, 2024
15baa15
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 8, 2024
4caac5a
Merge branch 'feature/IVYPORTAL-17537-Stage-1---AI-Assistant-UX-Impro…
mnhnam-axonivy Oct 8, 2024
f47ac84
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 9, 2024
f0c44bf
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 10, 2024
b847234
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 14, 2024
e5bc8d4
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 15, 2024
5853f5c
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 15, 2024
e9bfe4e
Merge pull request #2 from mnhnam-axonivy/IVYPORTAL-17537-AI-Assistan…
mnhnam-axonivy Oct 15, 2024
7cfd4cc
Create README_DE.md
mnhnam-axonivy Oct 15, 2024
14c0cf1
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 15, 2024
d254aaf
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 15, 2024
191aadf
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 15, 2024
dcc6359
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 15, 2024
85fdbfe
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 15, 2024
bb2653b
Merge branch 'feature/IVYPORTAL-17537-Stage-1---AI-Assistant-UX-Impro…
mnhnam-axonivy Oct 15, 2024
1bd5a1c
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 15, 2024
e7b903c
Merge branch 'feature/IVYPORTAL-17537-Stage-1---AI-Assistant-UX-Impro…
mnhnam-axonivy Oct 15, 2024
b1fb4ae
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 15, 2024
9751391
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
lttung-axonivy Oct 15, 2024
5622ce2
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 15, 2024
a6e9db8
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 15, 2024
4aca7e2
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 15, 2024
d6097ea
Merge pull request #4 from axonivy-market/feature/IVYPORTAL-17131-Sta…
lttung-axonivy Oct 16, 2024
505492f
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 16, 2024
e3fce18
IVYPORTAL-16305 Stage 2: Assistant Details - Function list
mnhnam-axonivy Oct 17, 2024
ebfac47
Merge branch 'feature/IVYPORTAL-17537-Stage-1---AI-Assistant-UX-Impro…
mnhnam-axonivy Oct 17, 2024
5fc0cdc
Merge pull request #5 from mnhnam-axonivy/IVYPORTAL-16305-stage-2-ass…
mnhnam-axonivy Oct 17, 2024
6cb294a
Merge pull request #2 from mnhnam-axonivy/feature/IVYPORTAL-17537-Sta…
mnhnam-axonivy Oct 17, 2024
102d866
Merge branch 'develop' of https://github.com/mnhnam-axonivy/ai-assist…
mnhnam-axonivy Oct 17, 2024
ffed2ea
Merge pull request #6 from mnhnam-axonivy/develop
mnhnam-axonivy Oct 17, 2024
bf0d222
Feature/ivyportal 17131 stage 1 create a marketplace item for portal …
lttung-axonivy Oct 18, 2024
b6cc822
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 18, 2024
9e71f62
Merge branch 'develop' of https://github.com/axonivy-market/ai-assist…
mnhnam-axonivy Oct 18, 2024
5951615
Merge pull request #8 from mnhnam-axonivy/develop
mnhnam-axonivy Oct 18, 2024
ce53044
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 18, 2024
d1755f3
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
lttung-axonivy Oct 18, 2024
5924e26
Merge pull request #9 from mnhnam-axonivy/develop
mnhnam-axonivy Oct 18, 2024
96957ee
IVYPORTAL-17537 Stage 1 - AI Assistant UX Improvement
mnhnam-axonivy Oct 21, 2024
10a7dc7
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 21, 2024
3dd53b6
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 21, 2024
bd1abac
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 21, 2024
dd32230
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 21, 2024
0dbb9c9
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 21, 2024
7cc1c8e
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
lttung-axonivy Oct 22, 2024
607a066
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
mnhnam-axonivy Oct 22, 2024
9bbd008
Merge branch 'develop' of https://github.com/axonivy-market/ai-assist…
mnhnam-axonivy Oct 22, 2024
fc078fb
IVYPORTAL-17131 Stage 1: Create a Marketplace item for Portal Assistant
lttung-axonivy Oct 22, 2024
808857f
Merge branch 'master' of https://github.com/axonivy-market/ai-assista…
nqhoan-axonivy Oct 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void setup(WebAppFixture fixture) {
}

@Test
public void manageAssistant(WebAppFixture fixture) {
public void manageAssistants(WebAppFixture fixture) {
AssistantManagementPage assistantManagementPage = navigateToAiManagementPage();
AssistantDetailsPage assistantDetailsPage = assistantManagementPage.addAssistant();
assistantDetailsPage.useTemplate(0);
Expand All @@ -30,6 +30,4 @@ public void manageAssistant(WebAppFixture fixture) {
Selenide.$$("div[id$='assistant-tab'] div.assistant-name").last().shouldBe(Condition.text("Portal Assistant"));
}



}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static com.codeborne.selenide.Selenide.open;

import com.axonivy.ivy.webtest.engine.EngineUrl;
import com.axonivy.ivy.webtest.engine.WebAppFixture;
import com.axonivy.utils.aiassistant.test.page.AssistantManagementPage;

public abstract class BaseTest {
Expand All @@ -11,4 +12,8 @@ protected AssistantManagementPage navigateToAiManagementPage() {
open(EngineUrl.createProcessUrl("/ai-assistant/19198CAD6D9F2F9E/AiManagement.ivp"));
return new AssistantManagementPage();
}

protected void loginAsDeveloper(WebAppFixture fixture) {
fixture.login("Developer", "Developer");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,23 @@
import com.axonivy.ivy.webtest.engine.WebAppFixture;
import com.axonivy.utils.aiassistant.test.page.AssistantManagementPage;
import com.axonivy.utils.aiassistant.test.page.FunctionManagementPage;
import com.codeborne.selenide.CollectionCondition;
import com.codeborne.selenide.Selenide;

@IvyWebTest
public class FunctionManagementTest extends BaseTest {

@BeforeEach
public void setup(WebAppFixture fixture) {
fixture.login("Developer", "Developer");
loginAsDeveloper(fixture);
}

@Test
public void manageAssistant(WebAppFixture fixture) {
public void manageFunctions(WebAppFixture fixture) {
AssistantManagementPage assistantManagementPage = navigateToAiManagementPage();
FunctionManagementPage functionManagementPage = assistantManagementPage.goToFunctionManagementPage();
Selenide.$$("span[id$='function-name']").shouldHave(CollectionCondition.size(1));
int numberOfStartableFunction = Selenide.$$("span[id$='function-name']").size();
functionManagementPage.showNonStartableFunctions();
Selenide.$$("span[id$='function-name']").shouldHave(sizeGreaterThan(1));
Selenide.$$("span[id$='function-name']").shouldHave(sizeGreaterThan(numberOfStartableFunction));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void setup(WebAppFixture fixture) {
}

@Test
public void manageAssistant(WebAppFixture fixture) {
public void manageModels(WebAppFixture fixture) {
AssistantManagementPage assistantManagementPage = navigateToAiManagementPage();
ModelManagementPage modelManagementPage = assistantManagementPage.goToModelManagementPage();
ModelDetailsPage modelDetailsPage = modelManagementPage.openModelDetails(1);
Expand Down
3 changes: 3 additions & 0 deletions ai-assistant/processes/Start Processes/AiStart.p.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@
"map" : {
"out.targetId" : "param.functionId"
}
},
"request" : {
"isVisibleOnStartList" : false
}
},
"visual" : {
Expand Down
Loading