# E2E test report (agent-friendly)

Plain-markdown digest of the Playwright e2e run, generated for AI agents. The interactive HTML report (screenshots, videos, traces) is served from this same deployment root.

- Commit: a54f42434a0004d7c58985e740f409a1b18912d4
- Workflow run: https://github.com/sanity-io/plugins/actions/runs/32151194439
- Summary: 22 passed, 4 failed, 0 flaky, 0 skipped

## ❌ firefox › document-internationalization/document-internationalization.spec.ts › @sanity/document-internationalization › opens an existing translation from the Translations menu

- Location: `tests/document-internationalization/document-internationalization.spec.ts:87:3`
- Browser (Playwright project): firefox
- Status: failed (3 attempts, all failed)

### Error (attempt 3 of 3)

```
Test timeout of 60000ms exceeded.
```

### Page snapshot at the moment of failure

# Instructions

- Following Playwright test failed.
- Explain why, be concise, respect Playwright best practices.
- Provide a snippet of code with the fix, if possible.

# Test info

- Name: document-internationalization/document-internationalization.spec.ts >> @sanity/document-internationalization >> opens an existing translation from the Translations menu
- Location: tests/document-internationalization/document-internationalization.spec.ts:87:3

# Error details

```
Test timeout of 60000ms exceeded.
```

# Page snapshot

```yaml
- generic [ref=e2]:
  - generic [ref=e3]:
    - generic [ref=e6]:
      - generic [ref=e7]:
        - generic [ref=e9]:
          - link [ref=e10] [cursor=pointer]:
            - /url: /firefox
            - img [ref=e15]: F
          - button "Firefox" [ref=e18]
        - button "Create new document" [ref=e31]
        - button "Open search" [ref=e39]
      - generic [ref=e48]:
        - generic [ref=e49]:
          - link "Structure" [ref=e50] [cursor=pointer]:
            - /url: /firefox/structure
          - link "Media" [ref=e57] [cursor=pointer]:
            - /url: /firefox/media
          - link "Releases" [ref=e64] [cursor=pointer]:
            - /url: /firefox/releases
        - button [disabled] [ref=e73]
      - generic [ref=e82]:
        - generic [ref=e83]:
          - link [ref=e84]:
            - /url: /firefox/releases
          - generic [ref=e91]: Drafts
          - button [ref=e97]
        - button [ref=e105]
        - button "Global presence" [ref=e113]
        - button "Help and resources" [ref=e121]
        - button [ref=e131]:
          - generic "e2e-robot-dev (Robot)" [ref=e133]: eR
    - generic [ref=e143]:
      - generic [ref=e144]: Content
      - generic [ref=e157]:
        - generic [ref=e161]:
          - generic [ref=e162]: Lesson
          - generic [ref=e168]:
            - button [ref=e170]
            - button [ref=e178]
        - combobox "Search list" [expanded] [ref=e191]
        - listbox "Lesson" [ref=e196]:
          - option [ref=e197]:
            - link "Open-me Spanish" [ref=e198] [cursor=pointer]:
              - /url: /firefox/structure/lesson;5fde3922-aa1e-4964-9fbf-fc339ba8dc02
          - option [ref=e216]:
            - link "English source lesson e2e-robot-dev (Robot) is editing this document in the \"Untitled\" release right now" [ref=e217] [cursor=pointer]:
              - /url: /firefox/structure/lesson;6b1af5f9-263d-4543-b285-ab31eb4c0e40
              - generic [ref=e220]:
                - generic [ref=e226]: English source lesson
                - generic "e2e-robot-dev (Robot) is editing this document in the \"Untitled\" release right now" [ref=e234]:
                  - generic "e2e-robot-dev (Robot)" [ref=e236]: eR
          - option [ref=e245]:
            - link "English source lesson" [ref=e246] [cursor=pointer]:
              - /url: /firefox/structure/lesson;7fcc53a9-f36f-4450-9f95-4ef77852a4df
          - option [ref=e264]:
            - link "Open-me English" [ref=e265] [cursor=pointer]:
              - /url: /firefox/structure/lesson;e4960ea4-8a74-4ce7-940e-4bed59847a13
          - option [ref=e283]:
            - link "Open-me Spanish" [ref=e284] [cursor=pointer]:
              - /url: /firefox/structure/lesson;3c59bcae-8af6-4963-bf9c-ef08f6ca55b3
          - option [ref=e302]:
            - link "Open-me English" [ref=e303] [cursor=pointer]:
              - /url: /firefox/structure/lesson;c11923ee-cf22-4395-8edd-fc3b21cf1ec5
      - generic [ref=e322]: Open-me English
      - generic [ref=e339]:
        - generic [ref=e341]:
          - generic [ref=e343]:
            - button "Published" [disabled] [ref=e346] [cursor=pointer]
            - button "Draft" [ref=e359] [cursor=pointer]
          - generic [ref=e371]:
            - button "Translations" [ref=e372]
            - button [ref=e384]
            - button "Comments" [ref=e393]
            - button [ref=e402]
            - button "Enter focus mode (hide navigation)" [ref=e412]
            - link [ref=e421] [cursor=pointer]:
              - /url: /firefox/structure/lesson;e4960ea4-8a74-4ce7-940e-4bed59847a13
        - generic [ref=e432]:
          - generic [ref=e433]: Open-me Spanish
          - generic [ref=e442]:
            - generic [ref=e447]:
              - generic [ref=e450]:
                - generic [ref=e451]: Lesson
                - heading "Open-me Spanish" [level=2] [ref=e455]
              - generic [ref=e457]:
                - generic [ref=e462]:
                  - generic [ref=e463]:
                    - generic [ref=e464]: Title
                    - generic [ref=e470]:
                      - button "Field actions" [ref=e473]
                      - button "Add comment" [active] [ref=e484]
                  - textbox [ref=e497]: Open-me Spanish
                - generic [ref=e502]:
                  - generic [ref=e503]:
                    - generic [ref=e504]: Content
                    - generic:
                      - generic:
                        - generic:
                          - button "Field actions"
                      - generic:
                        - generic:
                          - button "Add comment"
                  - textbox [ref=e516]: Content for es
            - generic: Add comment
          - generic [ref=e521]:
            - generic [ref=e522]:
              - button "e2e-robot-dev (Robot) Draft created 43 sec. ago" [ref=e524]:
                - generic [ref=e526]:
                  - generic "e2e-robot-dev (Robot)" [ref=e528]: eR
                  - generic [ref=e535]: Draft created 43 sec. ago
              - generic [ref=e537]: es
            - generic [ref=e543]:
              - button "Publish" [ref=e545]
              - button "Open document actions" [ref=e558]
  - list
```

### Other attachments (available in the HTML report at this deployment root)

- video (video/webm)


## ❌ firefox › document-internationalization/document-internationalization.spec.ts › @sanity/document-internationalization › creates a Spanish translation from an English lesson

- Location: `tests/document-internationalization/document-internationalization.spec.ts:31:3`
- Browser (Playwright project): firefox
- Status: failed (3 attempts, all failed)

### Error (attempt 3 of 3)

```
Test timeout of 60000ms exceeded.
```

### Page snapshot at the moment of failure

# Instructions

- Following Playwright test failed.
- Explain why, be concise, respect Playwright best practices.
- Provide a snippet of code with the fix, if possible.

# Test info

- Name: document-internationalization/document-internationalization.spec.ts >> @sanity/document-internationalization >> creates a Spanish translation from an English lesson
- Location: tests/document-internationalization/document-internationalization.spec.ts:31:3

# Error details

```
Test timeout of 60000ms exceeded.
```

# Page snapshot

```yaml
- generic [ref=e2]:
  - generic [ref=e3]:
    - generic [ref=e6]:
      - generic [ref=e7]:
        - generic [ref=e9]:
          - link [ref=e10] [cursor=pointer]:
            - /url: /firefox
            - img [ref=e15]: F
          - button "Firefox" [ref=e18]
        - button "Create new document" [ref=e31]
        - button "Open search" [ref=e39]
      - generic [ref=e48]:
        - generic [ref=e49]:
          - link "Structure" [ref=e50] [cursor=pointer]:
            - /url: /firefox/structure
          - link "Media" [ref=e57] [cursor=pointer]:
            - /url: /firefox/media
          - link "Releases" [ref=e64] [cursor=pointer]:
            - /url: /firefox/releases
        - button [disabled] [ref=e73]
      - generic [ref=e82]:
        - generic [ref=e83]:
          - link [ref=e84]:
            - /url: /firefox/releases
          - generic [ref=e91]: Drafts
          - button [ref=e97]
        - button [ref=e105]
        - button "Global presence" [ref=e113]
        - button "Help and resources" [ref=e121]
        - button [ref=e131]:
          - generic "e2e-robot-dev (Robot)" [ref=e133]: eR
    - generic [ref=e142]:
      - generic [ref=e143]:
        - generic [ref=e145]:
          - generic [ref=e146]: Content
          - listbox "Content" [ref=e157]:
            - option [ref=e158]:
              - link "Translation metadata" [ref=e159] [cursor=pointer]:
                - /url: /firefox/structure/translation.metadata
            - option [ref=e175]:
              - link "Lesson" [ref=e176] [cursor=pointer]:
                - /url: /firefox/structure/lesson
            - option [ref=e192]:
              - link "I18n Post" [ref=e193] [cursor=pointer]:
                - /url: /firefox/structure/i18nPost
            - option [ref=e209]:
              - link "Media Tag" [ref=e210] [cursor=pointer]:
                - /url: /firefox/structure/media.tag
            - option [ref=e227]:
              - link "Media Folder" [ref=e228] [cursor=pointer]:
                - /url: /firefox/structure/media.folder
            - option [ref=e244]:
              - link "Smoke test document" [ref=e245] [cursor=pointer]:
                - /url: /firefox/structure/smokeTestDocument
        - generic [ref=e263]:
          - generic [ref=e267]:
            - generic [ref=e268]: Lesson
            - generic [ref=e274]:
              - button [ref=e276]
              - button [ref=e284]
          - combobox "Search list" [expanded] [ref=e297]
          - listbox "Lesson" [ref=e302]:
            - option [ref=e303]:
              - link "Open-me Spanish e2e-robot-dev (Robot) is editing this document in the \"Untitled\" release right now" [ref=e304] [cursor=pointer]:
                - /url: /firefox/structure/lesson;5fde3922-aa1e-4964-9fbf-fc339ba8dc02
                - generic [ref=e307]:
                  - generic [ref=e313]: Open-me Spanish
                  - generic "e2e-robot-dev (Robot) is editing this document in the \"Untitled\" release right now" [ref=e321]:
                    - generic "e2e-robot-dev (Robot)" [ref=e323]: eR
            - option [ref=e332]:
              - link "English source lesson" [ref=e333] [cursor=pointer]:
                - /url: /firefox/structure/lesson;6b1af5f9-263d-4543-b285-ab31eb4c0e40
            - option [ref=e351]:
              - link "Open-me English" [ref=e352] [cursor=pointer]:
                - /url: /firefox/structure/lesson;e4960ea4-8a74-4ce7-940e-4bed59847a13
            - option [ref=e370]:
              - link "Open-me Spanish" [ref=e371] [cursor=pointer]:
                - /url: /firefox/structure/lesson;3c59bcae-8af6-4963-bf9c-ef08f6ca55b3
            - option [ref=e389]:
              - link "Open-me English" [ref=e390] [cursor=pointer]:
                - /url: /firefox/structure/lesson;c11923ee-cf22-4395-8edd-fc3b21cf1ec5
        - generic [ref=e411]:
          - generic [ref=e413]:
            - generic [ref=e415]:
              - button "Published" [disabled] [ref=e418] [cursor=pointer]
              - button "Draft" [ref=e431] [cursor=pointer]
            - generic [ref=e443]:
              - button "Translations" [ref=e444]
              - button [ref=e456]
              - button "Comments" [ref=e465]
              - button [ref=e474]
              - button "Enter focus mode (hide navigation)" [ref=e484]
              - link [ref=e493] [cursor=pointer]:
                - /url: /firefox/structure/lesson
          - generic [ref=e504]:
            - generic [ref=e505]: English source lesson
            - generic [ref=e519]:
              - generic [ref=e522]:
                - generic [ref=e523]: Lesson
                - heading "English source lesson" [level=2] [ref=e527]
              - generic [ref=e529]:
                - generic [ref=e534]:
                  - generic [ref=e535]:
                    - generic [ref=e536]: Title
                    - generic:
                      - generic:
                        - generic:
                          - button "Field actions"
                      - generic:
                        - generic:
                          - button "Add comment"
                  - textbox "Title" [ref=e548]: English source lesson
                - generic [ref=e553]:
                  - generic [ref=e554]:
                    - generic [ref=e555]: Content
                    - generic:
                      - generic:
                        - generic:
                          - button "Field actions"
                      - generic:
                        - generic:
                          - button "Add comment"
                  - textbox "Content" [ref=e567]: Source content that should not copy
            - generic [ref=e572]:
              - generic [ref=e573]:
                - button "e2e-robot-dev (Robot) Draft created 55 sec. ago" [ref=e575]:
                  - generic [ref=e577]:
                    - generic "e2e-robot-dev (Robot)" [ref=e579]: eR
                    - generic [ref=e586]: Draft created 55 sec. ago
                - generic [ref=e588]: en
              - generic [ref=e594]:
                - button "Publish" [ref=e596]
                - button "Open document actions" [ref=e609]
      - generic [ref=e622]:
        - button "Manage Translations" [ref=e624]
        - button "English en" [disabled] [ref=e636]:
          - generic [ref=e638]:
            - generic [ref=e643]: English
            - generic [ref=e646]: en
        - button "Spanish es" [ref=e649]:
          - generic [ref=e651]:
            - generic [ref=e656]: Spanish
            - generic [ref=e659]: es
        - button "French fr" [ref=e662]:
          - generic [ref=e664]:
            - generic [ref=e669]: French
            - generic [ref=e672]: fr
  - list
```

### Other attachments (available in the HTML report at this deployment root)

- video (video/webm)


## ❌ firefox › document-internationalization/document-internationalization.spec.ts › @sanity/document-internationalization › Delete translation action unsets the metadata reference

- Location: `tests/document-internationalization/document-internationalization.spec.ts:124:3`
- Browser (Playwright project): firefox
- Status: failed (3 attempts, all failed)

### Error (attempt 3 of 3)

```
Test timeout of 60000ms exceeded.

Error: page.goto: Test timeout of 60000ms exceeded.
Call log:
  - navigating to "https://plugins-e2e-test-studio-8otf1rasl.sanity.dev/firefox/intent/edit/id=685ece64-6ec3-4296-8bb0-ce559fb66fe7;type=lesson", waiting until "load"

    at openLessonDocument (/home/runner/work/plugins/plugins/e2e/helpers/document-internationalization/documentInternationalization.ts:130:14)
    at /home/runner/work/plugins/plugins/e2e/tests/document-internationalization/document-internationalization.spec.ts:134:13

   at ../helpers/document-internationalization/documentInternationalization.ts:130

  128 |   // required). A leading `/` resolves against the host origin and drops the
  129 |   // workspace basePath ("Workspace not found").
> 130 |   await page.goto(`intent/edit/id=${documentId};type=lesson`)
      |              ^
  131 |   await expect(page.getByTestId('studio-navbar')).toBeVisible()
  132 |   await expect(page.getByTestId('document-pane').first()).toBeVisible()
  133 |   await expect(page.getByTestId('form-view').first()).toBeVisible()
```

### Page snapshot at the moment of failure

# Instructions

- Following Playwright test failed.
- Explain why, be concise, respect Playwright best practices.
- Provide a snippet of code with the fix, if possible.

# Test info

- Name: document-internationalization/document-internationalization.spec.ts >> @sanity/document-internationalization >> Delete translation action unsets the metadata reference
- Location: tests/document-internationalization/document-internationalization.spec.ts:124:3

# Error details

```
Test timeout of 60000ms exceeded.
```

### Other attachments (available in the HTML report at this deployment root)

- video (video/webm)


## ❌ firefox › document-internationalization/document-internationalization.spec.ts › @sanity/document-internationalization › Duplicate with translations creates a new linked set

- Location: `tests/document-internationalization/document-internationalization.spec.ts:155:3`
- Browser (Playwright project): firefox
- Status: failed (3 attempts, all failed)

### Error (attempt 3 of 3)

```
Test timeout of 60000ms exceeded.
```

### Page snapshot at the moment of failure

# Instructions

- Following Playwright test failed.
- Explain why, be concise, respect Playwright best practices.
- Provide a snippet of code with the fix, if possible.

# Test info

- Name: document-internationalization/document-internationalization.spec.ts >> @sanity/document-internationalization >> Duplicate with translations creates a new linked set
- Location: tests/document-internationalization/document-internationalization.spec.ts:155:3

# Error details

```
Test timeout of 60000ms exceeded.
```

# Page snapshot

```yaml
- generic [ref=e2]:
  - generic [ref=e3]:
    - generic [ref=e6]:
      - generic [ref=e7]:
        - generic [ref=e9]:
          - link [ref=e10] [cursor=pointer]:
            - /url: /firefox
            - img [ref=e15]: F
          - button "Firefox" [ref=e18]
        - button "Create new document" [ref=e31]
        - button "Open search" [ref=e39]
      - generic [ref=e48]:
        - generic [ref=e49]:
          - link "Structure" [ref=e50] [cursor=pointer]:
            - /url: /firefox/structure
          - link "Media" [ref=e57] [cursor=pointer]:
            - /url: /firefox/media
          - link "Releases" [ref=e64] [cursor=pointer]:
            - /url: /firefox/releases
        - button [disabled] [ref=e73]
      - generic [ref=e82]:
        - generic [ref=e83]:
          - link [ref=e84]:
            - /url: /firefox/releases
          - generic [ref=e91]: Drafts
          - button [ref=e97]
        - button [ref=e105]
        - button "Global presence" [ref=e113]
        - button "Help and resources" [ref=e121]
        - button [ref=e131]:
          - generic "e2e-robot-dev (Robot)" [ref=e133]: eR
    - generic [ref=e143]:
      - generic [ref=e145]:
        - generic [ref=e146]: Content
        - listbox "Content" [ref=e157]:
          - option [ref=e158]:
            - link "Translation metadata" [ref=e159] [cursor=pointer]:
              - /url: /firefox/structure/translation.metadata
          - option [ref=e175]:
            - link "Lesson" [ref=e176] [cursor=pointer]:
              - /url: /firefox/structure/lesson
          - option [ref=e192]:
            - link "I18n Post" [ref=e193] [cursor=pointer]:
              - /url: /firefox/structure/i18nPost
          - option [ref=e209]:
            - link "Media Tag" [ref=e210] [cursor=pointer]:
              - /url: /firefox/structure/media.tag
          - option [ref=e227]:
            - link "Media Folder" [ref=e228] [cursor=pointer]:
              - /url: /firefox/structure/media.folder
          - option [ref=e244]:
            - link "Smoke test document" [ref=e245] [cursor=pointer]:
              - /url: /firefox/structure/smokeTestDocument
      - generic [ref=e263]:
        - generic [ref=e267]:
          - generic [ref=e268]: Lesson
          - generic [ref=e274]:
            - button [ref=e276]
            - button [ref=e284]
        - combobox "Search list" [expanded] [ref=e297]
        - listbox "Lesson" [ref=e302]:
          - option [ref=e303]:
            - link "Delete ES" [ref=e304] [cursor=pointer]:
              - /url: /firefox/structure/lesson;685ece64-6ec3-4296-8bb0-ce559fb66fe7
          - option [ref=e322]:
            - link "Dup FR" [ref=e323] [cursor=pointer]:
              - /url: /firefox/structure/lesson;503509a7-e929-4449-bc78-de8d616f45cb
          - option [ref=e341]:
            - link "Dup EN" [ref=e342] [cursor=pointer]:
              - /url: /firefox/structure/lesson;1348708d-85fd-469d-9cf4-c660e3a9188f
          - option [ref=e360]:
            - link "Delete EN" [ref=e361] [cursor=pointer]:
              - /url: /firefox/structure/lesson;73d425dd-e4bd-46fb-80c5-be973dd2b28c
          - option [ref=e379]:
            - link "Dup FR" [ref=e380] [cursor=pointer]:
              - /url: /firefox/structure/lesson;a73526c8-561a-4291-a152-44525f9ca24b
          - option [ref=e398]:
            - link "Dup EN" [ref=e399] [cursor=pointer]:
              - /url: /firefox/structure/lesson;d5686534-0381-4198-b964-458ab96b6b42
          - option [ref=e417]:
            - link "Delete ES" [ref=e418] [cursor=pointer]:
              - /url: /firefox/structure/lesson;2bf314d5-5466-45b3-821f-ea5f17bf4eb0
          - option [ref=e436]:
            - link "Delete EN" [ref=e437] [cursor=pointer]:
              - /url: /firefox/structure/lesson;b23e3a4a-855f-49c4-ab16-5440cd534c11
          - option [ref=e455]:
            - link "Dup FR" [ref=e456] [cursor=pointer]:
              - /url: /firefox/structure/lesson;cb4091d4-386c-478a-9764-35f3da3e7bd1
          - option [ref=e474]:
            - link "Dup EN" [ref=e475] [cursor=pointer]:
              - /url: /firefox/structure/lesson;43d13b65-18a7-4745-8fa0-e2b963fed5a5
          - option [ref=e493]:
            - link "Open-me Spanish" [ref=e494] [cursor=pointer]:
              - /url: /firefox/structure/lesson;3c59bcae-8af6-4963-bf9c-ef08f6ca55b3
          - option [ref=e512]:
            - link "Open-me English" [ref=e513] [cursor=pointer]:
              - /url: /firefox/structure/lesson;c11923ee-cf22-4395-8edd-fc3b21cf1ec5
      - generic [ref=e534]:
        - generic [ref=e536]:
          - generic [ref=e538]:
            - button "Published" [disabled] [ref=e541] [cursor=pointer]
            - button "Draft" [ref=e554] [cursor=pointer]
          - generic [ref=e566]:
            - button "Translations" [ref=e567]
            - button [ref=e579]
            - button "Comments" [ref=e588]
            - button [ref=e597]
            - button "Enter focus mode (hide navigation)" [ref=e607]
            - link [ref=e616] [cursor=pointer]:
              - /url: /firefox/structure/lesson
        - generic [ref=e627]:
          - generic [ref=e628]: Dup EN
          - generic [ref=e637]:
            - generic [ref=e642]:
              - generic [ref=e645]:
                - generic [ref=e646]: Lesson
                - heading "Dup EN" [level=2] [ref=e650]
              - generic [ref=e652]:
                - generic [ref=e657]:
                  - generic [ref=e658]:
                    - generic [ref=e659]: Title
                    - generic [ref=e665]:
                      - button "Field actions" [ref=e668]
                      - button "Add comment" [active] [ref=e679]
                  - textbox "Title" [ref=e692]: Dup EN
                - generic [ref=e697]:
                  - generic [ref=e698]:
                    - generic [ref=e699]: Content
                    - generic:
                      - generic:
                        - generic:
                          - button "Field actions"
                      - generic:
                        - generic:
                          - button "Add comment"
                  - textbox "Content" [ref=e711]: Content for en
            - generic: Add comment
          - generic [ref=e716]:
            - generic [ref=e717]:
              - button "e2e-robot-dev (Robot) Draft created 57 sec. ago" [ref=e719]:
                - generic [ref=e721]:
                  - generic "e2e-robot-dev (Robot)" [ref=e723]: eR
                  - generic [ref=e730]: Draft created 57 sec. ago
              - generic [ref=e732]: en
            - generic [ref=e738]:
              - button "Publish" [ref=e740]
              - button "Open document actions" [ref=e753]
  - list:
    - alert [ref=e762]:
      - generic [ref=e763]:
        - generic [ref=e764]: The document was successfully duplicated
        - button [ref=e769]
```

### Other attachments (available in the HTML report at this deployment root)

- video (video/webm)


## How to reproduce locally

From the repository root:

```sh
SANITY_E2E_PROJECT_ID=a1psl692 \
SANITY_E2E_BASE_URL=https://plugins-e2e-test-studio-8otf1rasl.sanity.dev \
SANITY_E2E_DATASET_CHROMIUM=pr-1917-chromium-32151194439 \
SANITY_E2E_DATASET_FIREFOX=pr-1917-firefox-32151194439 \
pnpm test:e2e \
  tests/document-internationalization/document-internationalization.spec.ts
```
