Bin
2025-12-17 d616898802dfe7e5dd648bcf53c6d1f86b6d3642
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const { I } = inject();
const assert = require("assert");
 
module.exports = {
  _tableRowSelectors: [
    ".ant-table-wrapper .ant-table-tbody .ant-table-row:nth-child(1) .ant-table-cell:nth-child(1)",
    ".ant-table-wrapper .ant-table-tbody .ant-table-row:nth-child(2) .ant-table-cell:nth-child(1)",
    ".ant-table-wrapper .ant-table-tbody .ant-table-row:nth-child(3) .ant-table-cell:nth-child(1)",
  ],
 
  async seeKeys(value) {
    for (let i = 0; i < this._tableRowSelectors.length; i++) {
      const error = await I.grabTextFrom(this._tableRowSelectors[i]);
 
      assert.equal(error, value[i]);
    }
  },
};