Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Oct 14, 2024
1 parent 9da6e69 commit e664a34
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 37 deletions.
8 changes: 4 additions & 4 deletions cypress/e2e/Payment/solana-pay.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,10 @@ describe('Solana Pay: QR code based mobile handover', () => {
secret_id = JSON.parse(JSON.parse(depayWebsocketMessages[0]).identifier).secret_id
mockedDepayWebsocket.send(JSON.stringify({ message: { created: true } }))
cy.wait(1000).then(()=>{
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Preparing payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Tracking payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('.ButtonPrimary', 'Try again').click()
cy.wait(1000).then(()=>{
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Preparing payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Tracking payment failed')
fetchMock.post({
url: "https://depay.test/track",
body: {},
Expand Down Expand Up @@ -527,10 +527,10 @@ describe('Solana Pay: QR code based mobile handover', () => {
}))
})
cy.wait(1000).then(()=>{
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Preparing payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Tracking payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('.ButtonPrimary', 'Try again').click()
cy.wait(1000).then(()=>{
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Preparing payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('Tracking payment failed')
fetchMock.post({
url: "https://depay.test/track",
body: {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/Payment/track.js
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ describe('Payment Widget: track', () => {
fetchMock.calls().filter((call)=>{ return call[0] == '/track/payments' && call.response.status == 502 }).length
).to.equal(2)

cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('h1', 'Preparing payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('h1', 'Tracking payment failed')
cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('strong', 'Please ensure you are connected to the internet, then click "Try again".')

cy.get('.ReactShadowDOMOutsideContainer').shadow().contains('.ButtonPrimary', 'Try again').click().then(()=>{
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -28364,7 +28364,7 @@ var TracingFailedDialog = (function (props) {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -28406,7 +28406,7 @@ var TrackingFailedDialog = (function () {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28327,7 +28327,7 @@ var TracingFailedDialog = (function (props) {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -28369,7 +28369,7 @@ var TrackingFailedDialog = (function () {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -30658,7 +30658,7 @@ var SolanaPayDialog = (function (props) {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -30694,7 +30694,7 @@ var SolanaPayDialog = (function (props) {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -28365,7 +28365,7 @@ var TracingFailedDialog = (function (props) {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -28407,7 +28407,7 @@ var TrackingFailedDialog = (function () {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -38383,7 +38383,7 @@ var SolanaPayDialog = (function (props) {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -38419,7 +38419,7 @@ var SolanaPayDialog = (function (props) {
src: ErrorGraphic
})), /*#__PURE__*/React.createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React.createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React.createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React.createElement("strong", {
className: "FontSizeM"
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -28362,7 +28362,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -28404,7 +28404,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28323,7 +28323,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -28365,7 +28365,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -30654,7 +30654,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -30690,7 +30690,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -28363,7 +28363,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -28405,7 +28405,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -38381,7 +38381,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down Expand Up @@ -38417,7 +38417,7 @@
src: ErrorGraphic
})), /*#__PURE__*/React__default['default'].createElement("h1", {
className: "LineHeightL Text FontSizeL PaddingTopS FontWeightBold"
}, "Preparing payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
}, "Tracking payment failed"), /*#__PURE__*/React__default['default'].createElement("div", {
className: "Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS"
}, /*#__PURE__*/React__default['default'].createElement("strong", {
className: "FontSizeM"
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/dialogs/SolanaPayDialog.solana.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ export default (props)=> {
<div className="GraphicWrapper">
<img className="Graphic" src={ ErrorGraphic }/>
</div>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Preparing payment failed</h1>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Tracking payment failed</h1>
<div className="Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS">
<strong className="FontSizeM">
Please ensure you are connected to the internet, then click "Try again".
Expand Down Expand Up @@ -648,7 +648,7 @@ export default (props)=> {
<div className="GraphicWrapper">
<img className="Graphic" src={ ErrorGraphic }/>
</div>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Preparing payment failed</h1>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Tracking payment failed</h1>
<div className="Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS">
<strong className="FontSizeM">
Please ensure you are connected to the internet, then click "Try again".
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs/TracingFailedDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default (props)=> {
<div className="GraphicWrapper">
<img className="Graphic" src={ ErrorGraphic }/>
</div>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Preparing payment failed</h1>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Tracking payment failed</h1>
<div className="Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS">
<strong className="FontSizeM">
Please ensure you are connected to the internet, then click "Try again".
Expand Down
2 changes: 1 addition & 1 deletion src/dialogs/TrackingFailedDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default ()=> {
<div className="GraphicWrapper">
<img className="Graphic" src={ ErrorGraphic }/>
</div>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Preparing payment failed</h1>
<h1 className="LineHeightL Text FontSizeL PaddingTopS FontWeightBold">Tracking payment failed</h1>
<div className="Text PaddingTopS PaddingBottomS PaddingLeftS PaddingRightS">
<strong className="FontSizeM">
Please ensure you are connected to the internet, then click "Try again".
Expand Down

0 comments on commit e664a34

Please sign in to comment.