Skip to content

Commit

Permalink
Merge branch 'master' into astump/#5130-whitespace-on-input
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonailea authored Dec 14, 2022
2 parents 19d529f + 6e039cf commit debcb73
Show file tree
Hide file tree
Showing 104 changed files with 897 additions and 5,242 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Test
description: Associate issue for a test (e.g., a new test, an unstable test that was skipped, Screener, etc.)
description: Associate issue for a test (e.g., a new test, an unstable test that was skipped, Chromatic, etc.)
labels: ["testing", "0 - new", "p - high"]
body:
- type: markdown
Expand All @@ -12,7 +12,7 @@ body:
attributes:
label: Test type
description: What type of test is being requested?
placeholder: "e.g., new test, unstable test, Screener, etc."
placeholder: "e.g., new test, unstable test, Chromatic, etc."
validations:
required: true
- type: input
Expand Down
73 changes: 0 additions & 73 deletions .github/workflows/pr-screener.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .storybook/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as icons from "@esri/calcite-ui-icons";
import { boolean as booleanKnob } from "@storybook/addon-knobs";
import { Steps } from "screener-storybook/src/screener";
import { THEMES } from "../src/utils/resources";
import { ThemeName } from "../src/components/interfaces";
import { Parameters } from "@storybook/api";
Expand Down Expand Up @@ -38,26 +37,6 @@ export const setTheme = (value: ThemeName) => `${THEMES.map(

export const toggleCentered: string = `document.body.classList.toggle('sb-main-centered');`;

export const createSteps = (componentSelector: string): Steps => {
return new Steps().wait(`${componentSelector}[calcite-hydrated]`);
};

export const stepStory = (story: Story, steps: Steps): Story => {
const stepsDecorator = (Story: Story) => {
const node = document.createRange().createContextualFragment(Story());
(node as any).steps = steps.end();
return node;
};

if (story.decorators) {
story.decorators.push(stepsDecorator);
} else {
story.decorators = [stepsDecorator];
}

return story;
};

/**
* This helps create different storybook builds for internal and screenshot test environments
*/
Expand Down
4 changes: 1 addition & 3 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { withDirection } from "storybook-rtl-addon";
import { Theme } from "storybook-addon-themes/dist/models/Theme";

declare global {
interface Window {
__screener_storybook__: any;
}
interface Window {}
}

const themeBodyClassDecorator = (Story: () => any, context: any) => {
Expand Down
19 changes: 0 additions & 19 deletions .storybook/screener.config.js

This file was deleted.

Loading

0 comments on commit debcb73

Please sign in to comment.