mirror of
https://github.com/chinchang/web-maker.git
synced 2025-10-12 20:15:10 +02:00
Cypress integrated with some tests
This commit is contained in:
@@ -119,6 +119,7 @@ export class Console extends PureComponent {
|
||||
class="code-wrap__header-btn code-wrap__collapse-btn"
|
||||
title={i18n._(t`Toggle console`)}
|
||||
onClick={toggleConsole}
|
||||
data-testid="toggleConsole"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -127,6 +128,7 @@ export class Console extends PureComponent {
|
||||
ref={el => {
|
||||
this.logContainerEl = el;
|
||||
}}
|
||||
data-testid="consoleItems"
|
||||
>
|
||||
{logs.map(log => (
|
||||
<LogRow data={log} />
|
||||
|
Reference in New Issue
Block a user