From 3971436ad4fd1dc823d8b8e446601ca83721fc23 Mon Sep 17 00:00:00 2001 From: Ioannis Charalampidis Date: Tue, 9 May 2017 15:37:43 +0200 Subject: [PATCH] tests(AppVersionComponent): Fixing the tests to adapt to new layout --- src/test/units/AppVersionComponent.test.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/units/AppVersionComponent.test.js b/src/test/units/AppVersionComponent.test.js index da13432a2..bb4e8375e 100644 --- a/src/test/units/AppVersionComponent.test.js +++ b/src/test/units/AppVersionComponent.test.js @@ -138,37 +138,37 @@ describe("AppVersionComponent", function () { }); it("has correct backoff factor", function () { - var children = this.rows.at(33).props().children; + var children = this.rows.at(35).props().children; expect(children[0]).to.equal(1.15); }); it("has correct backoff", function () { - var children = this.rows.at(35).props().children; + var children = this.rows.at(37).props().children; expect(children[0]).to.equal(1); expect(children[2]).to.equal("seconds"); }); it("has correct max launch delay", function () { - var children = this.rows.at(37).props().children; + var children = this.rows.at(39).props().children; expect(children[0]).to.equal(3600); expect(children[2]).to.equal("seconds"); }); it("has correct URIs", function () { - expect(this.rows.at(39).text().trim()).to.equal("Unspecified"); + expect(this.rows.at(41).text().trim()).to.equal("Unspecified"); }); it("has correct User", function () { - expect(this.rows.at(41).props().children[0]).to.equal("testuser"); + expect(this.rows.at(43).props().children[0]).to.equal("testuser"); }); it("has correct args", function () { - expect(this.rows.at(43).text()).to.equal("arg1"); - expect(this.rows.at(44).text()).to.equal("arg2"); + expect(this.rows.at(45).text()).to.equal("arg1"); + expect(this.rows.at(46).text()).to.equal("arg2"); }); it("has correct version", function () { - expect(this.rows.at(46).props().children[0]) + expect(this.rows.at(48).props().children[0]) .to.equal("2015-06-29T12:57:02.269Z"); });