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: Removed Custom web components in tests #1445

Merged
merged 28 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e236204
Feat: Added Waiter addon
pascalwilbrink Feb 12, 2024
26a362f
Fix: removed console.log
pascalwilbrink Feb 12, 2024
2a284a2
Fix: Removed .workdone
pascalwilbrink Feb 12, 2024
5541386
Fix: Removed waiting from OpenSCD
pascalwilbrink Feb 13, 2024
137612e
Fix: Added deferred promise to open-scd.test
pascalwilbrink Feb 13, 2024
5f11fd8
Fix: Added deferred promise to open-scd.test
pascalwilbrink Feb 13, 2024
12fc4d7
Fix: fixed E2E test
pascalwilbrink Feb 13, 2024
563d4c8
Removed waiting mixin
pascalwilbrink Feb 13, 2024
1a1c195
Feat: Settings addon
pascalwilbrink Feb 13, 2024
b833f9f
Fix: fixed test
pascalwilbrink Feb 13, 2024
e3d1515
Fix: updated import in themes.ts
pascalwilbrink Feb 13, 2024
4960d04
Fix: updated import in themes.ts
pascalwilbrink Feb 13, 2024
d051c91
Feat: Moved hosting into OpenSCD class
pascalwilbrink Feb 14, 2024
7a84fa2
Removed Hosting Mixin
pascalwilbrink Feb 15, 2024
e997916
Removed console.log
pascalwilbrink Feb 15, 2024
2a5bc49
Feat: Removed custom webcomponent definition in tests
pascalwilbrink Feb 15, 2024
7d4a6be
Fixed some tests
pascalwilbrink Feb 15, 2024
1d81b5a
Fixed more tests
pascalwilbrink Feb 15, 2024
9e92087
Fixed tests
pascalwilbrink Feb 15, 2024
a3470b7
Updated timeout
pascalwilbrink Feb 15, 2024
4742434
Removed dist folders
pascalwilbrink Feb 15, 2024
7cf43b8
Removed dist folder
pascalwilbrink Feb 15, 2024
265f4c4
Fixed merge conflicts
pascalwilbrink Feb 26, 2024
21a0434
Updated test
pascalwilbrink Feb 26, 2024
57573c7
Update control-blocks-container.test.ts
pascalwilbrink Feb 26, 2024
13cdb12
Delete packages/open-scd/src/editors/subscription/dist/fcda-binding-l…
pascalwilbrink Feb 26, 2024
24a80dc
Update dotype-wizarding.test.ts
pascalwilbrink Feb 27, 2024
15ba251
Update Templates.test.ts
pascalwilbrink Feb 28, 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
358 changes: 0 additions & 358 deletions packages/open-scd/src/Hosting.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/open-scd/src/addons/Waiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export class OscdWaiter extends LitElement {

constructor() {
super();

this.onPendingState = this.onPendingState.bind(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import '@material/mwc-list';
import '@material/mwc-list/mwc-list-item';
import '@material/mwc-list/mwc-check-list-item';
import '@material/mwc-menu';
import '@material/mwc-icon-button';

import { Icon } from '@material/mwc-icon';
import { List } from '@material/mwc-list';
Expand Down
3 changes: 1 addition & 2 deletions packages/open-scd/src/menu/ImportIEDs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ export default class ImportingIedPlugin extends LitElement {
}

async docUpdate(): Promise<void> {
await ((this.getRootNode() as ShadowRoot).host as LitElement)
.updateComplete;
await this.updateComplete;
}

private importIED(ied: Element): void {
Expand Down
1 change: 0 additions & 1 deletion packages/open-scd/test/integration/Setting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ describe('Oscd-Settings', () => {

await settings.requestUpdate();
await settings.updateComplete;

await logger.updateComplete;

expect(localStorage.getItem('IEC 61850-7-2')).to.eql(nsdocFile);
Expand Down
Loading
Loading