Fix Bug #550: AI修复
This commit is contained in:
@@ -42,7 +42,6 @@ describe('Bug #550 Regression', { tags: ['@bug550', '@regression'] }, () => {
|
||||
// 3. 验证名称显示:去除“套餐”前缀,且支持完整显示/Tooltip
|
||||
cy.get('[data-cy="selected-card-name"]').should('not.contain', '套餐')
|
||||
cy.get('[data-cy="selected-card-name"]').should('contain', '128线排')
|
||||
// 验证卡片宽度自适应,无固定宽度导致的截断溢出
|
||||
cy.get('[data-cy="selected-card"]').invoke('css', 'width').should('not.equal', '0px')
|
||||
|
||||
// 4. 验证默认收起状态
|
||||
@@ -54,6 +53,6 @@ describe('Bug #550 Regression', { tags: ['@bug550', '@regression'] }, () => {
|
||||
cy.get('[data-cy="selected-card"]').find('.method-row').should('have.length.greaterThan', 0)
|
||||
|
||||
// 6. 验证无冗余标签
|
||||
cy.get('[data-cy="selected-card"]').contains('项目套餐明细').should('not.exist')
|
||||
cy.get('[data-cy="selected-card"]').should('not.contain', '项目套餐明细')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user