Skip to content

Commit 3a75e75

Browse files
committed
select slaves
1 parent 999dc9f commit 3a75e75

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cypress/select-modbus.cy.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ describe("Select Slave tests", () => {
55
beforeEach(beforeEachHelper); // mounts entity and opens all expansion panels
66
//afterEach(afterEachEntityHelper);
77
it("mount", () => {
8+
cy.intercept("GET", "**/converters", {
9+
fixture: "converters.json",
10+
});
811
cy.get('mat-select[formControlName="variableType"]')
912
});
1013
});

src/app/select-slave/select-slave.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export class SelectSlaveComponent extends SessionStorage implements OnInit {
181181
this.bus = bus;
182182
if (this.bus) {
183183
this.busname = getConnectionName(this.bus.connectionData);
184-
this.updateSlaves(bus);
184+
this.updateSlaves();
185185
}
186186
});
187187
});

0 commit comments

Comments
 (0)