Use "*:placeholder" as placeholder label (#27520)
GitOrigin-RevId: eb6566e8cab401675df21a54d0b1035fd6e8a8df
This commit is contained in:
+6
-6
@@ -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}'
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user