Use "*:placeholder" as placeholder label (#27520)

GitOrigin-RevId: eb6566e8cab401675df21a54d0b1035fd6e8a8df
This commit is contained in:
Alf Eaton
2025-08-01 08:05:58 +00:00
committed by Copybot
parent 94c8fe5b93
commit 677ebf3590
4 changed files with 11 additions and 11 deletions
@@ -130,7 +130,7 @@ describe('<FigureModal />', function () {
// icon, which is literal text in the document
cy.get('.cm-content').should(
'have.text',
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:enter-label\\end{figure}'
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:placeholder\\end{figure}'
)
})
@@ -179,7 +179,7 @@ describe('<FigureModal />', function () {
// icon, which is literal text in the document
cy.get('.cm-content').should(
'have.text',
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:enter-label\\end{figure}'
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:placeholder\\end{figure}'
)
})
})
@@ -267,7 +267,7 @@ describe('<FigureModal />', function () {
// icon, which is literal text in the document
cy.get('.cm-content').should(
'have.text',
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:enter-label\\end{figure}'
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:placeholder\\end{figure}'
)
})
@@ -296,7 +296,7 @@ describe('<FigureModal />', function () {
// icon, which is literal text in the document
cy.get('.cm-content').should(
'have.text',
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:enter-label\\end{figure}'
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:placeholder\\end{figure}'
)
})
})
@@ -442,7 +442,7 @@ describe('<FigureModal />', function () {
// icon, which is literal text in the document
cy.get('.cm-content').should(
'have.text',
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:enter-label\\end{figure}'
'\\begin{figure} \\centeringedit \\caption{Enter Caption} 🏷fig:placeholder\\end{figure}'
)
})
@@ -471,7 +471,7 @@ describe('<FigureModal />', function () {
// icon, which is literal text in the document
cy.get('.cm-content').should(
'have.text',
'\\begin{figure} \\centeringedit \\caption{My caption} 🏷fig:enter-label\\end{figure}'
'\\begin{figure} \\centeringedit \\caption{My caption} 🏷fig:placeholder\\end{figure}'
)
})