-
Notifications
You must be signed in to change notification settings - Fork 144
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
Results of weekly scheduled smoke test #509
Comments
Oh wow, really interesting issue. Basically, this is failing to get the component file name since it's named wrapped by square brackets. Not really sure what we should do here: assume there is no file name? assume the file name it's just |
Detected 3 ESLint reports and/or crashes. Rules:
Click to expandRule: consistent-data-testid
274 |
275 | {state.group && (
> 276 | <div className={styles.wrapper} data-testid="group-page">
277 | {/* <div className={styles.templogo} /> */}
278 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
279 | <div className={styles.content}>
Rule: consistent-data-testid
121 |
122 | return (
> 123 | <div data-testid="tag-page" className={styles.pageWrapper}>
124 | {isTagRemovedShowModal && (
125 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
126 | Tag removed! - success!
Rule: consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 2 ESLint reports and/or crashes. Rules:
Click to expandRule: consistent-data-testid
274 |
275 | {state.group && (
> 276 | <div className={styles.wrapper} data-testid="group-page">
277 | {/* <div className={styles.templogo} /> */}
278 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
279 | <div className={styles.content}>
Rule: consistent-data-testid
121 |
122 | return (
> 123 | <div data-testid="tag-page" className={styles.pageWrapper}>
124 | {isTagRemovedShowModal && (
125 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
126 | Tag removed! - success!
|
Detected 1 ESLint reports and/or crashes. Rules:
Click to expandRule: consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 3 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
Rule: testing-library/consistent-data-testid
264 |
265 | {state.group && (
> 266 | <div className={styles.wrapper} data-testid="group-page">
267 | {/* <div className={styles.templogo} /> */}
268 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
269 | <div className={styles.content}>
Rule: testing-library/consistent-data-testid
121 |
122 | return (
> 123 | <div data-testid="tag-page" className={styles.pageWrapper}>
124 | {isTagRemovedShowModal && (
125 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
126 | Tag removed! - success!
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
Rule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
264 |
265 | {state.group && (
> 266 | <div className={styles.wrapper} data-testid="group-page">
267 | {/* <div className={styles.templogo} /> */}
268 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
269 | <div className={styles.content}>
Rule: testing-library/consistent-data-testid
121 |
122 | return (
> 123 | <div data-testid="tag-page" className={styles.pageWrapper}>
124 | {isTagRemovedShowModal && (
125 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
126 | Tag removed! - success!
|
Detected 13 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 16 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
Rule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
278 | )}
279 | {state.group && (
> 280 | <div className={styles.wrapper} data-testid="group-page">
281 | {/* <div className={styles.templogo} /> */}
282 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
283 | <div className={styles.content}>
Rule: testing-library/consistent-data-testid
121 |
122 | return (
> 123 | <div data-testid="tag-page" className={styles.pageWrapper}>
124 | {isTagRemovedShowModal && (
125 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
126 | Tag removed! - success!
|
Detected 15 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
278 | )}
279 | {state.group && (
> 280 | <div className={styles.wrapper} data-testid="group-page">
281 | {/* <div className={styles.templogo} /> */}
282 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
283 | <div className={styles.content}>
Rule: testing-library/consistent-data-testid
121 |
122 | return (
> 123 | <div data-testid="tag-page" className={styles.pageWrapper}>
124 | {isTagRemovedShowModal && (
125 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
126 | Tag removed! - success!
Rule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 2 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
301 | )}
302 | {state.group && (
> 303 | <div className={styles.wrapper} data-testid="group-page">
304 | {/* <div className={styles.templogo} /> */}
305 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
306 | <div className={styles.content}>
Rule: testing-library/consistent-data-testid
125 |
126 | return (
> 127 | <div data-testid="tag-page" className={styles.pageWrapper}>
128 | {isTagRemovedShowModal && (
129 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
130 | <AnimatedCheckmarkCross
|
Detected 1 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 15 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
301 | )}
302 | {state.group && (
> 303 | <div className={styles.wrapper} data-testid="group-page">
304 | {/* <div className={styles.templogo} /> */}
305 | {/* <TagsBar additionalStyles={styles.tagsFavsBar} /> */}
306 | <div className={styles.content}>
Rule: testing-library/consistent-data-testid
125 |
126 | return (
> 127 | <div data-testid="tag-page" className={styles.pageWrapper}>
128 | {isTagRemovedShowModal && (
129 | <Modal onClose={() => setIsTagRemovedShowModal(false)}>
130 | <AnimatedCheckmarkCross
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 1 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 720 ESLint reports and/or crashes. Reached maximum result count 50. Rules:
Click to expandRule: testing-library/no-global-regexp-flag-in-query
23 | file.mv(`${process.env.FILE_UPLOAD_PATH}/${file.name}`, async (err) => {
24 | if (err) return next(new Error(`Problem with file upload`));
> 25 | await model.findByIdAndUpdate(result._id, {
26 | image: file.name
27 | });
28 | res.imageUpload = { success: true, data: file.name };
Rule: testing-library/no-global-regexp-flag-in-query
93 | ]);
94 | try {
> 95 | await this.model('Quiz').findByIdAndUpdate(quizId, {
96 | average_quiz_time: obj[0].averageTimeAllocated.toFixed(2)
97 | });
98 | } catch (err) {
Rule: testing-library/no-global-regexp-flag-in-query
45 |
46 | const scheduleButton = await waitFor(() =>
> 47 | findByText(/schedule/i, { selector: "span" }).then(e => e.closest("button"))
48 | );
49 |
50 | fireEvent.click(scheduleButton as Element);
Rule: testing-library/no-global-regexp-flag-in-query
115 |
116 | // Wait for text to be rendered
> 117 | const element = await waitFor(() => screen.getByText('No contacts found', { exact: false }));
118 |
119 | // Text should be displayed
120 | expect(element).toBeInTheDocument();
Rule: testing-library/no-global-regexp-flag-in-query
35 |
36 | // surrounding `nav` has aria-label="breadcrumb"
> 37 | screen.getByLabelText("breadcrumb", { selector: "nav" })
38 |
39 | // `isCurrentPage` link has aria-current="page"
40 | const currentPageLink = screen.getByText("Link 3")
Rule: testing-library/no-global-regexp-flag-in-query
101 | )
102 |
> 103 | const indicator = screen.getByRole("presentation", { hidden: true })
104 |
105 | expect(indicator).toBeVisible()
106 | expect(indicator).toHaveTextContent("*")
Rule: testing-library/no-global-regexp-flag-in-query
26 | test("renders an icon by default", () => {
27 | const { getByRole } = render(<Select />)
> 28 | const icon = getByRole("presentation", { hidden: true })
29 |
30 | expect(icon).toHaveAttribute("aria-hidden", "true")
31 | expect(icon).toHaveClass("chakra-select__icon")
Rule: testing-library/no-global-regexp-flag-in-query
14 | })
15 |
> 16 | const allByTitle = await screen.findAllByRole("alert", { name: title })
17 | const allByDescription = await screen.findAllByText(description)
18 |
19 | expect(allByTitle).toHaveLength(1)
Rule: testing-library/no-global-regexp-flag-in-query
31 | })
32 |
> 33 | const allByTitle = await screen.findAllByRole("alert", { name: title })
34 | const allByDescription = await screen.findAllByText(description)
35 |
36 | expect(allByTitle).toHaveLength(1)
Rule: testing-library/no-global-regexp-flag-in-query
173 | const { id } = req.params;
174 |
> 175 | const delivery = await Delivery.findByPk(id, { paranoid: false });
176 |
177 | if (!delivery) {
178 | return res.status(400).json({ error: 'Delivery not found' });
Rule: testing-library/no-global-regexp-flag-in-query
65 | }
66 | const { description } = req.body;
> 67 | const deliveryExist = await Delivery.findByPk(delivery_id, {
68 | paranoid: false,
69 | });
70 |
Rule: testing-library/no-global-regexp-flag-in-query
117 | const { avatar_id } = req.body;
118 |
> 119 | const deliveryman = await Deliveryman.findByPk(id, {
120 | attributes: ['id', 'name', 'email'],
121 | include: [
122 | {
Rule: testing-library/no-global-regexp-flag-in-query
24 | });
25 | }
> 26 | const deliveryman = await Deliveryman.findByPk(deliveryman_id, {
27 | paranoid: false,
28 | });
29 |
Rule: testing-library/no-global-regexp-flag-in-query
39 |
40 | expect(
> 41 | screen.queryByRole('option', { name: paginationText })
42 | ).toBeInTheDocument();
43 | });
44 |
Rule: testing-library/no-global-regexp-flag-in-query
49 | const { produto } = req.params as any
50 |
> 51 | const removeFavorite = await User.findByIdAndUpdate(userid, {
52 | $pull: {
53 | favoritos: {
54 | produto
Rule: testing-library/no-global-regexp-flag-in-query
15 | const { getByText, getByRole } = render(<AddCard onAdd={mockCallback} />)
16 | expect(getByText('Create New User')).toBeInTheDocument()
> 17 | expect(getByText('Someone New', { exact: false })).toBeInTheDocument()
18 | expect(getByRole('button', { name: 'Add' })).toHaveTextContent('Add')
19 | expect(mockCallback).not.toHaveBeenCalled()
20 | })
Rule: testing-library/no-global-regexp-flag-in-query
38 | expect(mockCallback).not.toHaveBeenCalled()
39 | expect(getByRole('button', { name: 'Save' })).toBeDisabled()
> 40 | expect(getByText('Success!', { exact: false })).toBeInTheDocument()
41 | }, 700)
42 |
43 | expect(container.querySelector('i')).toBeInTheDocument()
Rule: testing-library/no-global-regexp-flag-in-query
124 | await waitForExpect(() => {
125 | expect(getByRole('button', { name: 'Save' })).toBeDisabled()
> 126 | expect(getByText('Success!', { exact: false })).toBeInTheDocument()
127 | }, 700)
128 |
129 | expect(getByText('Jane Doe')).toBeInTheDocument()
Rule: testing-library/no-global-regexp-flag-in-query
27 | expect(screen.queryByPlaceholderText('Email')).not.toBeInTheDocument()
28 | expect(screen.queryByRole('button', { name: 'Save' })).not.toBeInTheDocument()
> 29 | expect(screen.queryByText('Success!', { exact: false })).not.toBeInTheDocument()
30 | expect(mockCallback).not.toHaveBeenCalled()
31 | })
32 |
Rule: testing-library/no-global-regexp-flag-in-query
20 | await waitFor(() => getByRole('button', { name: 'Confirm' }))
21 |
> 22 | userEvent.type(queryByText('dangerous!', { exact: false }), '{esc}')
23 | expect(queryByRole('button', { name: 'Confirm' })).not.toBeInTheDocument()
24 | expect(mockCallback).not.toHaveBeenCalled()
25 | })
Rule: testing-library/no-global-regexp-flag-in-query
44 | expect(mockCallback).toHaveBeenCalledWith('Jenny Doe', '[email protected]')
45 | expect(getByRole('button', { name: 'Save' })).toBeDisabled()
> 46 | expect(getByText('Success!', { exact: false })).toBeInTheDocument()
47 | }, 700)
48 | })
49 |
Rule: testing-library/no-global-regexp-flag-in-query
29 | expect(screen.getByLabelText(/drink/i)).toHaveTextContent(testData.drink)
30 |
> 31 | fireEvent.click(screen.getByText(/confirm/i, {selector: 'button'}))
32 |
33 | expect(mockSubmitForm).toHaveBeenCalledWith(testData)
34 | expect(mockSubmitForm).toHaveBeenCalledTimes(1)
Rule: testing-library/no-global-regexp-flag-in-query
31 | )
32 |
> 33 | fireEvent.click(await screen.findByText(/confirm/i, {selector: 'button'}))
34 |
35 | expect(mockSubmitForm).toHaveBeenCalledWith(testData)
36 | expect(mockSubmitForm).toHaveBeenCalledTimes(1)
Rule: testing-library/no-global-regexp-flag-in-query
28 | )
29 |
> 30 | userEvent.click(await screen.findByText(/confirm/i, {selector: 'button'}))
31 |
32 | expect(mockSubmitForm).toHaveBeenCalledWith(testData)
33 | expect(mockSubmitForm).toHaveBeenCalledTimes(1)
Rule: testing-library/no-global-regexp-flag-in-query
78 | const { container } = render(<MdSlide md={md} />)
79 |
> 80 | expect(screen.getByRole('heading', { level: 1 }).textContent).toEqual(
81 | `Network Analysis of Shakespeare's plays`
82 | )
83 |
Rule: testing-library/no-global-regexp-flag-in-query
68 |
69 | expect(
> 70 | queryByText(`Database '${useDb}' is unavailable.`, { exact: false })
71 | ).toBeTruthy()
72 | })
73 |
Rule: testing-library/no-global-regexp-flag-in-query
102 |
103 | expect(
> 104 | screen.getByRole('button', {
105 | name: `Show ${DETAILS_PANE_STEP_SIZE} more`
106 | })
107 | ).toBeInTheDocument()
Rule: testing-library/no-global-regexp-flag-in-query
113 | expect(screen.getByRole('button', { name: 'Show all' })).toBeInTheDocument()
114 | expect(
> 115 | screen.getByRole('button', { name: `Show ${OVERVIEW_STEP_SIZE} more` })
116 | ).toBeInTheDocument()
117 | expect(screen.queryByText('label50 (1)')).not.toBeInTheDocument()
118 |
Rule: testing-library/no-global-regexp-flag-in-query
106 |
107 | expect(
> 108 | screen.getByRole('button', {
109 | name: `Show ${DETAILS_PANE_STEP_SIZE} more`
110 | })
111 | ).toBeInTheDocument()
Rule: testing-library/no-global-regexp-flag-in-query
112 | expect(screen.getByRole('button', { name: 'Show all' })).toBeInTheDocument()
113 | expect(
> 114 | screen.getByRole('button', { name: `Show ${OVERVIEW_STEP_SIZE} more` })
115 | ).toBeInTheDocument()
116 | expect(screen.queryByText('label50 (1)')).not.toBeInTheDocument()
117 |
Rule: testing-library/no-global-regexp-flag-in-query
50 | expect(getByText('Registering Sidecar Ticket')).toBeInTheDocument();
51 | expect(
> 52 | await findByText('Ticket Registered Successfully', {}, { timeout: 2000 }),
53 | ).toBeInTheDocument();
54 | fireEvent.click(getByText('arrow-left.svg'));
55 | expect(store.registerSidecarView.showWizard).toBeFalsy();
Rule: testing-library/no-global-regexp-flag-in-query
291 | changeInput('Destination Address', 'abc123');
292 | changeInput('Fee', '10');
> 293 | fireEvent.click(getByText('Close Account', { selector: 'button' }));
294 |
295 | // check confirmation values
296 | expect(getByText('abc123')).toBeInTheDocument();
Rule: testing-library/no-global-regexp-flag-in-query
52 | expect(getAllByText('Ask')).toHaveLength(1);
53 |
> 54 | fireEvent.click(getByText('Open', { selector: 'button' }));
55 | expect(store.orderListView.filter).toBe('open');
56 | });
57 |
Rule: testing-library/no-global-regexp-flag-in-query
106 | expect(getByText("Let's perform a Loop!")).toBeInTheDocument();
107 |
> 108 | fireEvent.click(getByText('Loop', { selector: 'button' }));
109 | expect(getByText(firstLine(l('loopActions')))).toBeInTheDocument();
110 |
111 | fireEvent.click(getByText('Next'));
Rule: testing-library/no-global-regexp-flag-in-query
66 |
67 | router.put('/like',requireLogin,(req,res)=>{
> 68 | Post.findByIdAndUpdate(req.body.postId,{
69 | $push:{likes:req.user._id}
70 | },{
71 | new:true
Rule: testing-library/no-global-regexp-flag-in-query
26 |
27 | router.put('/follow',requireLogin,(req,res)=>{
> 28 | User.findByIdAndUpdate(req.body.followId,{
29 | $push:{followers:req.user._id}
30 | },{
31 | new:true
Rule: testing-library/no-global-regexp-flag-in-query
285 | expect(queryByText('Kwantlen Polytechnic University')).toBeNull();
286 | //contact SRES block is shown
> 287 | expect(getByText('For more information', { exact: false })).toBeVisible();
288 | //project status is hidden
289 | expect(queryByText('Status: ')).toBeNull();
290 | });
Rule: testing-library/no-global-regexp-flag-in-query
89 | fireEvent.click(getByText(/Continue/i));
90 | });
> 91 | expect(getByText('Building Valuation', { exact: true })).toBeInTheDocument();
92 | await waitFor(() => {
93 | fireEvent.click(getByText(/Continue/i));
94 | });
Rule: testing-library/no-global-regexp-flag-in-query
169 | const { getByText, getByLabelText } = render(uiElement);
170 | const nextButton = getByText('Next');
> 171 | const check = getByLabelText('has approval/authority', { exact: false });
172 | await act(async () => {
173 | fireEvent.click(check);
174 | await waitFor(() => {
Rule: testing-library/no-global-regexp-flag-in-query
43 | it('Input is disabled if form is readonly', () => {
44 | const { getByLabelText } = renderComponent(true);
> 45 | expect(getByLabelText('has approval/authority', { exact: false })).toBeDisabled();
46 | });
47 |
48 | it('My ministry/agency displays for non SRES', () => {
Rule: testing-library/no-global-regexp-flag-in-query
124 |
125 | const findButton = (name: string | RegExp) =>
> 126 | findByRole('button', { name: typeof name === 'string' ? new RegExp(name, 'i') : name });
127 | const setClearanceDate = (value: Date | '') => {
128 | formikRef?.current?.setFieldValue('clearanceNotificationSentOn', value);
129 | };
Rule: testing-library/no-global-regexp-flag-in-query
26 | const { getByText } = render(getLastUpdatedBy(undefined, date, user, email));
27 | const formattedDate = formatApiDateTime(date);
> 28 | expect(getByText(formattedDate, { exact: false })).toBeVisible();
29 | });
30 |
31 | it('Displays the created date formatted to the local timezone if no update date specified', () => {
Rule: testing-library/no-global-regexp-flag-in-query
45 | router.post("/create",requireLogin,(req,res) => {
46 |
> 47 | User.findByIdAndUpdate(req.user._id,{
48 | $push : {
49 | stockData : req.body
50 | }},{
Rule: testing-library/no-global-regexp-flag-in-query
67 | )
68 |
> 69 | expect(getByText(monthName, { exact: false })).toBeInTheDocument()
70 | })
71 | })
72 |
Rule: testing-library/no-global-regexp-flag-in-query
35 | const { getByText } = render(<DatePickerCalendar locale={locale} date={pastDate} />)
36 |
> 37 | expect(getByText(monthName, { exact: false })).toBeInTheDocument()
38 | })
39 |
40 | it('should maintain the selected date’s time when selecting a new date', () => {
Rule: testing-library/no-global-regexp-flag-in-query
78 | )
79 |
> 80 | expect(getByText(monthName, { exact: false })).toBeInTheDocument()
81 | })
82 |
83 | it('should display pre-selected end date’s month on initial render', () => {
Rule: testing-library/no-global-regexp-flag-in-query
86 | const { getByText } = render(<DateRangePickerCalendar locale={locale} startDate={pastDate} endDate={today} />)
87 |
> 88 | expect(getByText(monthName, { exact: false })).toBeInTheDocument()
89 | })
90 |
91 | it('should display pre-selected end date’s month on initial render', () => {
Rule: testing-library/no-global-regexp-flag-in-query
71 | renderComponent(<MaintenancePageLayout {...props} />);
72 | expect(
> 73 | screen.getByRole('img', { name: props.label })
74 | ).toBeInTheDocument();
75 | });
76 | });
Rule: testing-library/no-global-regexp-flag-in-query
34 | cy.findByText('Request for permission').should('be.visible')
35 | cy.findByText('Console').should('be.visible')
> 36 | cy.findByText('All possible rights', { exact: false }).should('be.visible')
37 | cy.findByText('all possible current and future rights').should('be.visible')
38 | cy.findByText(`You are logged in as ${user.ids.user_id}.`).should('be.visible')
39 | cy.findByText(
Rule: testing-library/no-global-regexp-flag-in-query
30 | cy.visit(`${Cypress.config('accountAppRootPath')}/profile-settings`)
31 |
> 32 | cy.findByText('Change password', { selector: 'h3' })
33 | .closest('[data-test-id="collapsible-section"]')
34 | .within(() => {
35 | cy.findByRole('button', { name: 'Expand' }).click()
|
Something went wrong. Click to expand
|
@AriPerkkio Is there something you can do anything about this? |
Looks like Github API's rate limit was hit when results were being posted. Since There are already some safe guards for this: https://github.com/AriPerkkio/eslint-remote-tester-run-action/blob/master/src/github-client.ts#L28-L41 |
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 13 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 1 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 1 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 13 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 13 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
Rule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
Rule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
Rule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
Rule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
|
Detected 1 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 1 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | export default props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
Detected 14 ESLint reports and/or crashes. Rules:
Click to expandRule: testing-library/consistent-data-testid
4 | const NamedSplat = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const SplatRoute = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">SPLAT!</h1>
7 | <h2 data-testid="splat">{props.params["*"]}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
4 | const FakeDataTitleName = props => (
5 | <Layout>
> 6 | <h1 data-testid="title">Named SPLAT Nested with Collection Route!</h1>
7 | <h2 data-testid="splat">{props.params.name}</h2>
8 | </Layout>
9 | )
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
12 | path={path}
13 | />
> 14 | <Link to="../page-B" data-testid="page-b-link">
15 | Go to page B
16 | </Link>
17 | </>
Rule: testing-library/consistent-data-testid
22 | path={path}
23 | />
> 24 | <Link to="../page-B" data-testid="page-b-link">
25 | Go to page B
26 | </Link>
27 | </>
Rule: testing-library/consistent-data-testid
20 | path={path}
21 | />
> 22 | <Link to="../page-B" data-testid="page-b-link">
23 | Go to page B
24 | </Link>
25 | </>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | export default props => (
6 | <Layout>
> 7 | <h1 data-testid="title">SPLAT!</h1>
8 | <h2 data-testid="splat">{props.params["*"]}</h2>
9 | </Layout>
10 | )
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
5 | <div>
6 | <h2>Query</h2>
> 7 | <pre data-testid="query">{JSON.stringify(serverData?.arg?.query)}</pre>
8 | <h2>Params</h2>
9 | <pre data-testid="params">{JSON.stringify(serverData?.arg?.params)}</pre>
10 | <h2>Debug</h2>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
4 | return (
5 | <main>
> 6 | <h1 data-testid="title">{params.name}</h1>
7 | <pre>
8 | <code>{JSON.stringify(params, null, 2)}</code>
9 | </pre>
Rule: testing-library/consistent-data-testid
210 | <Box flex={1} height="1px" textAlign="center">
211 | <Image
> 212 | data-testid="picture-detail"
213 | src={photo.data?.getPhoto?.files[2] ?? ""}
214 | />
215 | </Box>
|
I went for the "assume there is no file name" option in #643, as the |
🎉 This issue has been resolved in version 5.6.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Detected 13 ESLint reports and/or crashes.
Scanned 8804 repositories.
Rules:
consistent-data-testid
Click to expand
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx:276
gtms-org/gtms-frontend/packages/app-andrew/src/pages/group/[...params].tsx
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx:123
gtms-org/gtms-frontend/packages/app-andrew/src/pages/tag/[...tags].tsx
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js:6
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/named-splat/[...name].js
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js:6
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/client-dynamic-route/splat/[...].js
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js:6
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/collection-routing/{FakeData.title}/[...name].js
Rule: consistent-data-testid
Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js:14
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-history/[client-only].js
Rule: consistent-data-testid
Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js:14
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/page-query-CO-to-B-to-CO-link/[client-only].js
Rule: consistent-data-testid
Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js:24
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-history/[client-only].js
Rule: consistent-data-testid
Invalid regular expression: /^[client-only](__([A-Z]+[a-z]_?)+)_$/: Range out of order in character class Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js:22
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/query-data-caches/static-query-CO-to-B-to-CO-link/[client-only].js
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
gatsbyjs/gatsby/e2e-tests/development-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js:6
gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/client-dynamic-route/splat/[...].js
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js:7
gatsbyjs/gatsby/e2e-tests/production-runtime/src/pages/ssr/wildcard-path/[...wildcard].js
Rule: consistent-data-testid
Invalid regular expression: /^[(__([A-Z]+[a-z]_?)+)_$/: Unmatched ')' Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx:212
vickev/howdypix/apps/webapp/pages/photo/[...slug].tsx
The text was updated successfully, but these errors were encountered: