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

chore: Update Kaoto to 2.3.0-RC4 #737

Merged
merged 2 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 2.3.0

- Introduced a `Kaoto` output channel. It is initially used to log message of exceptions.
- Upgrade to Kaoto 2.3.0-RC2
- Upgrade to Kaoto 2.3.0-RC4
- Start attempt to have VS Code Kaoto version number aligned with version of Kaoto that is embedded

# 1.3.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<p align="center">
<a href="https://marketplace.visualstudio.com/items?itemName=redhat.vscode-kaoto"><img src="https://img.shields.io/visual-studio-marketplace/v/redhat.vscode-kaoto?style=for-the-badge" alt="Marketplace Version"/></a>
<a href="https://github.com/KaotoIO/kaoto/releases"><img alt="Kaoto UI version" src="https://img.shields.io/badge/Kaoto_UI-2.3.0--RC2-orange?style=for-the-badge"></a>
<a href="https://github.com/KaotoIO/kaoto/releases"><img alt="Kaoto UI version" src="https://img.shields.io/badge/Kaoto_UI-2.3.0--RC4-orange?style=for-the-badge"></a>
<img src="https://img.shields.io/badge/VS%20Code-1.74.0+-blue?style=for-the-badge" alt="Visual Studio Code Support"/>
<a href="https://github.com/KaotoIO/vscode-kaoto/blob/main/LICENSE"><img src="https://img.shields.io/github/license/KaotoIO/vscode-kaoto?color=blue&style=for-the-badge" alt="License"/></a>
<a href="https://camel.zulipchat.com/#narrow/stream/258729-camel-tooling"><img src="https://img.shields.io/badge/zulip-join_chat-brightgreen?color=yellow&style=for-the-badge" alt="Zulip"/></a></br>
Expand Down Expand Up @@ -45,7 +45,7 @@

### Embedded

- [Kaoto 2 release](https://github.com/KaotoIO/kaoto) in version [2.3.0-RC2](https://github.com/KaotoIO/kaoto/releases/tag/2.3.0-RC2).
- [Kaoto 2 release](https://github.com/KaotoIO/kaoto) in version [2.3.0-RC4](https://github.com/KaotoIO/kaoto/releases/tag/2.3.0-RC4).

### Issues

Expand Down
18 changes: 17 additions & 1 deletion it-tests/SwitchBetweenTabs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ describe('Switching between editor tabs', function () {
tabText: 'pf-v5-c-tabs__item-text',
designTabLabel: 'Design canvas',
beansTabLabel: 'Beans editor',
dataMapperTabLabel: 'DataMapper',
},
DesignCanvas: {
canvas: 'topology'
},
BeansEditor: {
listView: 'metadata-editor-modal-list-view',
detailsView: 'metadata-editor-modal-details-view'
},
DataMapper: {
howTo: 'pf-v5-l-bullseye datamapper-howto'
}
}

Expand All @@ -46,7 +50,7 @@ describe('Switching between editor tabs', function () {
driver,
true
)).kaotoWebview;
expect(await getTabsCount()).to.equal(2);
expect(await getTabsCount()).to.equal(3);
expect(await getActiveTabName()).to.equal('Design');
});

Expand All @@ -56,6 +60,12 @@ describe('Switching between editor tabs', function () {
expect(await getActiveTabName()).to.equal('Beans');
});

it('Switch to "DataMapper" tab and check it is active', async function () {
await switchToTab(locators.EditorTabs.dataMapperTabLabel);
await waitForDataMapperIsLoaded();
expect(await getActiveTabName()).to.equal('DataMapper');
});

it('Switch back to "Design" tab and check it is active', async function () {
await switchToTab(locators.EditorTabs.designTabLabel);
await waitForDesignCanvasIsLoaded();
Expand Down Expand Up @@ -98,4 +108,10 @@ describe('Switching between editor tabs', function () {
5_000, 'Beans "details" view was not loaded properly!'
);
}

async function waitForDataMapperIsLoaded() {
await driver.wait(until.elementLocated(By.className(locators.DataMapper.howTo)),
5_000, 'DataMapper "howTo" content was not loaded properly!'
);
}
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test:it:clean": "rimraf ./test-resources && rimraf ./out && rimraf *.vsix"
},
"dependencies": {
"@kaoto/kaoto": "2.3.0-RC2",
"@kaoto/kaoto": "2.3.0-RC4",
"@kie-tools-core/backend": "0.32.0",
"@kie-tools-core/editor": "0.32.0",
"@kie-tools-core/i18n": "0.32.0",
Expand Down
Loading
Loading