Skip to content

Commit eb7fe68

Browse files
authored
COMPASS-532: Don't use pseudo selectors for strings (#816)
* COMPASS-532: Don't use pseudo selectors for strings * Fix functional tests with quotes in strings
1 parent 6fa3657 commit eb7fe68

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"hadron-ipc": "^0.0.7",
137137
"hadron-module-cache": "^0.0.3",
138138
"hadron-package-manager": "0.2.0",
139-
"hadron-react-bson": "^0.0.2",
139+
"hadron-react-bson": "^0.3.0",
140140
"hadron-react-buttons": "^0.2.0",
141141
"hadron-reflux-store": "^0.0.2",
142142
"hadron-style-manager": "0.0.1",

src/internal-packages/crud/styles/element.less

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@
2626
color: steelblue;
2727
white-space: pre-line;
2828
word-break: break-all;
29-
&::before {
30-
content: "\"";
31-
}
32-
&::after {
33-
content: "\"";
34-
}
3529
}
3630

3731
&-is-int32 {

test/functional/compass-functional.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ describe('Compass Main Functional Test Suite #spectron', function() {
539539
.clickInsertDocumentModalButton()
540540
.waitForDocumentInsert(1)
541541
.getDocumentValues(1)
542-
.should.eventually.include('Aphex Twin');
542+
.should.eventually.include('\"Aphex Twin\"');
543543
});
544544
});
545545

@@ -569,7 +569,7 @@ describe('Compass Main Functional Test Suite #spectron', function() {
569569
.clickUpdateDocumentButton(1)
570570
.waitForDocumentUpdate(1)
571571
.getDocumentValues(1)
572-
.should.eventually.include('Aphex Twin (edited)');
572+
.should.eventually.include('\"Aphex Twin (edited)\"');
573573
});
574574
});
575575

@@ -582,7 +582,7 @@ describe('Compass Main Functional Test Suite #spectron', function() {
582582
.clickInsertDocumentModalButton()
583583
.waitForDocumentInsert(2)
584584
.getDocumentValues(2)
585-
.should.eventually.include('Essex');
585+
.should.eventually.include('\"Essex\"');
586586
});
587587
});
588588

@@ -854,7 +854,7 @@ describe('Compass Main Functional Test Suite #spectron', function() {
854854
.clickResetFilterButtonFromDocumentsTab()
855855
.waitForStatusBar()
856856
.getDocumentValues(3)
857-
.should.eventually.include('George Michael');
857+
.should.eventually.include('\"George Michael\"');
858858
});
859859
});
860860
});

0 commit comments

Comments
 (0)