Skip to content

Commit

Permalink
test(wdio): migrate conditional rendering & nested dynamic & slot ref…
Browse files Browse the repository at this point in the history
… tests to wdio
  • Loading branch information
yigityuce committed Mar 15, 2024
1 parent 81b549e commit 240d24d
Show file tree
Hide file tree
Showing 16 changed files with 132 additions and 235 deletions.
65 changes: 0 additions & 65 deletions test/karma/test-app/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ export namespace Components {
}
interface SlotChildrenRoot {
}
interface SlotConditionalRendering {
}
interface SlotDynamicNameChangeScoped {
"slotName": string;
}
Expand Down Expand Up @@ -248,12 +246,6 @@ export namespace Components {
}
interface SlotNestedDefaultOrderParent {
}
interface SlotNestedDynamicChild {
}
interface SlotNestedDynamicParent {
}
interface SlotNestedDynamicWrapper {
}
interface SlotNestedOrderChild {
}
interface SlotNestedOrderParent {
Expand All @@ -268,8 +260,6 @@ export namespace Components {
interface SlotParentTagChangeRoot {
"element": string;
}
interface SlotRef {
}
interface SlotReorder {
"reordered": boolean;
}
Expand Down Expand Up @@ -849,12 +839,6 @@ declare global {
prototype: HTMLSlotChildrenRootElement;
new (): HTMLSlotChildrenRootElement;
};
interface HTMLSlotConditionalRenderingElement extends Components.SlotConditionalRendering, HTMLStencilElement {
}
var HTMLSlotConditionalRenderingElement: {
prototype: HTMLSlotConditionalRenderingElement;
new (): HTMLSlotConditionalRenderingElement;
};
interface HTMLSlotDynamicNameChangeScopedElement extends Components.SlotDynamicNameChangeScoped, HTMLStencilElement {
}
var HTMLSlotDynamicNameChangeScopedElement: {
Expand Down Expand Up @@ -981,24 +965,6 @@ declare global {
prototype: HTMLSlotNestedDefaultOrderParentElement;
new (): HTMLSlotNestedDefaultOrderParentElement;
};
interface HTMLSlotNestedDynamicChildElement extends Components.SlotNestedDynamicChild, HTMLStencilElement {
}
var HTMLSlotNestedDynamicChildElement: {
prototype: HTMLSlotNestedDynamicChildElement;
new (): HTMLSlotNestedDynamicChildElement;
};
interface HTMLSlotNestedDynamicParentElement extends Components.SlotNestedDynamicParent, HTMLStencilElement {
}
var HTMLSlotNestedDynamicParentElement: {
prototype: HTMLSlotNestedDynamicParentElement;
new (): HTMLSlotNestedDynamicParentElement;
};
interface HTMLSlotNestedDynamicWrapperElement extends Components.SlotNestedDynamicWrapper, HTMLStencilElement {
}
var HTMLSlotNestedDynamicWrapperElement: {
prototype: HTMLSlotNestedDynamicWrapperElement;
new (): HTMLSlotNestedDynamicWrapperElement;
};
interface HTMLSlotNestedOrderChildElement extends Components.SlotNestedOrderChild, HTMLStencilElement {
}
var HTMLSlotNestedOrderChildElement: {
Expand Down Expand Up @@ -1035,12 +1001,6 @@ declare global {
prototype: HTMLSlotParentTagChangeRootElement;
new (): HTMLSlotParentTagChangeRootElement;
};
interface HTMLSlotRefElement extends Components.SlotRef, HTMLStencilElement {
}
var HTMLSlotRefElement: {
prototype: HTMLSlotRefElement;
new (): HTMLSlotRefElement;
};
interface HTMLSlotReorderElement extends Components.SlotReorder, HTMLStencilElement {
}
var HTMLSlotReorderElement: {
Expand Down Expand Up @@ -1227,7 +1187,6 @@ declare global {
"slot-basic-order-root": HTMLSlotBasicOrderRootElement;
"slot-basic-root": HTMLSlotBasicRootElement;
"slot-children-root": HTMLSlotChildrenRootElement;
"slot-conditional-rendering": HTMLSlotConditionalRenderingElement;
"slot-dynamic-name-change-scoped": HTMLSlotDynamicNameChangeScopedElement;
"slot-dynamic-name-change-shadow": HTMLSlotDynamicNameChangeShadowElement;
"slot-dynamic-scoped-list": HTMLSlotDynamicScopedListElement;
Expand All @@ -1249,16 +1208,12 @@ declare global {
"slot-map-order-root": HTMLSlotMapOrderRootElement;
"slot-nested-default-order-child": HTMLSlotNestedDefaultOrderChildElement;
"slot-nested-default-order-parent": HTMLSlotNestedDefaultOrderParentElement;
"slot-nested-dynamic-child": HTMLSlotNestedDynamicChildElement;
"slot-nested-dynamic-parent": HTMLSlotNestedDynamicParentElement;
"slot-nested-dynamic-wrapper": HTMLSlotNestedDynamicWrapperElement;
"slot-nested-order-child": HTMLSlotNestedOrderChildElement;
"slot-nested-order-parent": HTMLSlotNestedOrderParentElement;
"slot-ng-if": HTMLSlotNgIfElement;
"slot-no-default": HTMLSlotNoDefaultElement;
"slot-parent-tag-change": HTMLSlotParentTagChangeElement;
"slot-parent-tag-change-root": HTMLSlotParentTagChangeRootElement;
"slot-ref": HTMLSlotRefElement;
"slot-reorder": HTMLSlotReorderElement;
"slot-reorder-root": HTMLSlotReorderRootElement;
"slot-replace-wrapper": HTMLSlotReplaceWrapperElement;
Expand Down Expand Up @@ -1468,8 +1423,6 @@ declare namespace LocalJSX {
}
interface SlotChildrenRoot {
}
interface SlotConditionalRendering {
}
interface SlotDynamicNameChangeScoped {
"slotName"?: string;
}
Expand Down Expand Up @@ -1524,12 +1477,6 @@ declare namespace LocalJSX {
}
interface SlotNestedDefaultOrderParent {
}
interface SlotNestedDynamicChild {
}
interface SlotNestedDynamicParent {
}
interface SlotNestedDynamicWrapper {
}
interface SlotNestedOrderChild {
}
interface SlotNestedOrderParent {
Expand All @@ -1544,8 +1491,6 @@ declare namespace LocalJSX {
interface SlotParentTagChangeRoot {
"element"?: string;
}
interface SlotRef {
}
interface SlotReorder {
"reordered"?: boolean;
}
Expand Down Expand Up @@ -1662,7 +1607,6 @@ declare namespace LocalJSX {
"slot-basic-order-root": SlotBasicOrderRoot;
"slot-basic-root": SlotBasicRoot;
"slot-children-root": SlotChildrenRoot;
"slot-conditional-rendering": SlotConditionalRendering;
"slot-dynamic-name-change-scoped": SlotDynamicNameChangeScoped;
"slot-dynamic-name-change-shadow": SlotDynamicNameChangeShadow;
"slot-dynamic-scoped-list": SlotDynamicScopedList;
Expand All @@ -1684,16 +1628,12 @@ declare namespace LocalJSX {
"slot-map-order-root": SlotMapOrderRoot;
"slot-nested-default-order-child": SlotNestedDefaultOrderChild;
"slot-nested-default-order-parent": SlotNestedDefaultOrderParent;
"slot-nested-dynamic-child": SlotNestedDynamicChild;
"slot-nested-dynamic-parent": SlotNestedDynamicParent;
"slot-nested-dynamic-wrapper": SlotNestedDynamicWrapper;
"slot-nested-order-child": SlotNestedOrderChild;
"slot-nested-order-parent": SlotNestedOrderParent;
"slot-ng-if": SlotNgIf;
"slot-no-default": SlotNoDefault;
"slot-parent-tag-change": SlotParentTagChange;
"slot-parent-tag-change-root": SlotParentTagChangeRoot;
"slot-ref": SlotRef;
"slot-reorder": SlotReorder;
"slot-reorder-root": SlotReorderRoot;
"slot-replace-wrapper": SlotReplaceWrapper;
Expand Down Expand Up @@ -1795,7 +1735,6 @@ declare module "@stencil/core" {
"slot-basic-order-root": LocalJSX.SlotBasicOrderRoot & JSXBase.HTMLAttributes<HTMLSlotBasicOrderRootElement>;
"slot-basic-root": LocalJSX.SlotBasicRoot & JSXBase.HTMLAttributes<HTMLSlotBasicRootElement>;
"slot-children-root": LocalJSX.SlotChildrenRoot & JSXBase.HTMLAttributes<HTMLSlotChildrenRootElement>;
"slot-conditional-rendering": LocalJSX.SlotConditionalRendering & JSXBase.HTMLAttributes<HTMLSlotConditionalRenderingElement>;
"slot-dynamic-name-change-scoped": LocalJSX.SlotDynamicNameChangeScoped & JSXBase.HTMLAttributes<HTMLSlotDynamicNameChangeScopedElement>;
"slot-dynamic-name-change-shadow": LocalJSX.SlotDynamicNameChangeShadow & JSXBase.HTMLAttributes<HTMLSlotDynamicNameChangeShadowElement>;
"slot-dynamic-scoped-list": LocalJSX.SlotDynamicScopedList & JSXBase.HTMLAttributes<HTMLSlotDynamicScopedListElement>;
Expand All @@ -1817,16 +1756,12 @@ declare module "@stencil/core" {
"slot-map-order-root": LocalJSX.SlotMapOrderRoot & JSXBase.HTMLAttributes<HTMLSlotMapOrderRootElement>;
"slot-nested-default-order-child": LocalJSX.SlotNestedDefaultOrderChild & JSXBase.HTMLAttributes<HTMLSlotNestedDefaultOrderChildElement>;
"slot-nested-default-order-parent": LocalJSX.SlotNestedDefaultOrderParent & JSXBase.HTMLAttributes<HTMLSlotNestedDefaultOrderParentElement>;
"slot-nested-dynamic-child": LocalJSX.SlotNestedDynamicChild & JSXBase.HTMLAttributes<HTMLSlotNestedDynamicChildElement>;
"slot-nested-dynamic-parent": LocalJSX.SlotNestedDynamicParent & JSXBase.HTMLAttributes<HTMLSlotNestedDynamicParentElement>;
"slot-nested-dynamic-wrapper": LocalJSX.SlotNestedDynamicWrapper & JSXBase.HTMLAttributes<HTMLSlotNestedDynamicWrapperElement>;
"slot-nested-order-child": LocalJSX.SlotNestedOrderChild & JSXBase.HTMLAttributes<HTMLSlotNestedOrderChildElement>;
"slot-nested-order-parent": LocalJSX.SlotNestedOrderParent & JSXBase.HTMLAttributes<HTMLSlotNestedOrderParentElement>;
"slot-ng-if": LocalJSX.SlotNgIf & JSXBase.HTMLAttributes<HTMLSlotNgIfElement>;
"slot-no-default": LocalJSX.SlotNoDefault & JSXBase.HTMLAttributes<HTMLSlotNoDefaultElement>;
"slot-parent-tag-change": LocalJSX.SlotParentTagChange & JSXBase.HTMLAttributes<HTMLSlotParentTagChangeElement>;
"slot-parent-tag-change-root": LocalJSX.SlotParentTagChangeRoot & JSXBase.HTMLAttributes<HTMLSlotParentTagChangeRootElement>;
"slot-ref": LocalJSX.SlotRef & JSXBase.HTMLAttributes<HTMLSlotRefElement>;
"slot-reorder": LocalJSX.SlotReorder & JSXBase.HTMLAttributes<HTMLSlotReorderElement>;
"slot-reorder-root": LocalJSX.SlotReorderRoot & JSXBase.HTMLAttributes<HTMLSlotReorderRootElement>;
"slot-replace-wrapper": LocalJSX.SlotReplaceWrapper & JSXBase.HTMLAttributes<HTMLSlotReplaceWrapperElement>;
Expand Down
9 changes: 0 additions & 9 deletions test/karma/test-app/slot-conditional-rendering/index.html

This file was deleted.

39 changes: 0 additions & 39 deletions test/karma/test-app/slot-conditional-rendering/karma.spec.ts

This file was deleted.

34 changes: 0 additions & 34 deletions test/karma/test-app/slot-nested-dynamic/index.html

This file was deleted.

60 changes: 0 additions & 60 deletions test/karma/test-app/slot-nested-dynamic/karma.spec.ts

This file was deleted.

6 changes: 0 additions & 6 deletions test/karma/test-app/slot-ref/index.html

This file was deleted.

19 changes: 0 additions & 19 deletions test/karma/test-app/slot-ref/karma.spec.ts

This file was deleted.

2 changes: 1 addition & 1 deletion test/wdio/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 240d24d

Please sign in to comment.