feat(sanity): add release types #26257
Annotations
8 errors
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L85
TestingLibraryElementError: Unable to find an element with the text: Untitled. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:85:11
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L112
TestingLibraryElementError: Unable to find an element with the text: Test Value. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div />
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
❯ Proxy.waitForWrapper ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:112:11
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L152
TestingLibraryElementError: Unable to find an element with the text: Test Preview Value. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:152:11
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L162
TestingLibraryElementError: Unable to find an element with the text: Untitled. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:162:11
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L176
TestingLibraryElementError: Unable to find an element with the text: Error: Test Error. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:176:11
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L185
AssertionError: expected "spy" to be called with arguments: [ { enabled: true, …(2) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
2nd spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
3rd spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
4th spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
5th spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
6th spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
7th spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
8th spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
9th spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
10th spy call:
Array [
Object {
- "enabled": true,
+ "enabled": false,
"schemaType": Object {
"name": "testSchema",
"title": "Test Schema",
},
- "value": Object {
- "title": "Test Value",
- },
+ "value": undefined,
},
]
Number of calls: 10
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
</html>
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:185:35
❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
Test:
packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx#L204
TestingLibraryElementError: Unable to find an element with the text: Test Preview Value. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
New Test Schema
<div
class="sc-uYFMi exPSRJ sc-gFtjaa krTxyR"
data-ui="Layer"
style="z-index: 1;"
>
<div
class="sc-ikngxL jNHMFQ"
>
<div
class="sc-keTIit fMofb"
data-as="div"
data-ui="Box"
/>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper ../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentHeaderTitle.test.tsx:204:11
|
Test
Process completed with exit code 1.
|
Loading