{"id":3177,"date":"2021-10-03T12:00:34","date_gmt":"2021-10-03T08:30:34","guid":{"rendered":"http:\/\/rabsana.ir\/tutorials\/?p=3177"},"modified":"2021-10-02T15:58:42","modified_gmt":"2021-10-02T12:28:42","slug":"how-to-run-cypress-cucumber-test","status":"publish","type":"post","link":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/","title":{"rendered":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Cypress\u060c \u06cc\u06a9 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u0627\u062a\u0648\u0645\u0627\u0633\u06cc\u0648\u0646 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u0642\u0627\u0628\u0644\u06cc\u062a \u0647\u0627\u06cc\u06cc \u062c\u0647\u062a \u0627\u06cc\u062c\u0627\u062f \u0633\u0631\u06cc\u0639 \u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u062a\u0633\u062a \u0642\u0648\u06cc \u0627\u0633\u062a. Cucumber\u060c \u06cc\u06a9 \u0631\u0648\u06cc\u06a9\u0631\u062f\/ \u0627\u0628\u0632\u0627\u0631 \u0627\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u062a\u0648\u0633\u0639\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0631\u0641\u062a\u0627\u0631 (BDD) \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u0631\u0627\u0647\u06cc \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u062a\u0633\u062a \u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631\u06a9\u0633\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0635\u0631\u0641 \u0646\u0638\u0631 \u0627\u0632 \u0645\u06cc\u0632\u0627\u0646 \u062f\u0627\u0646\u0634 \u0641\u0646\u06cc \u062e\u0648\u062f\u060c \u0622\u0646 \u0631\u0627 \u062f\u0631\u06a9 \u06a9\u0646\u062f.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0628\u0647 \u0628\u0631\u0631\u0633\u06cc BDD \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cucumber \u0648 \u0627\u062f\u063a\u0627\u0645 \u0622\u0646 \u0628\u0627 Cypress \u062e\u0648\u0627\u0647\u06cc\u0645 \u067e\u0631\u062f\u0627\u062e\u062a. \u0628\u0647 \u0639\u0628\u0627\u0631\u062a \u062f\u06cc\u06af\u0631\u060c \u0646\u062d\u0648\u0647 \u0627\u0646\u062c\u0627\u0645 \u0622\u0632\u0645\u0627\u06cc\u0634\u0627\u062a \u0628\u0627 Cucumber\u00a0 \u0648 Cypress \u0631\u0627 \u0645\u0648\u0631\u062f \u0628\u062d\u062b \u0642\u0631\u0627\u0631 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f.<\/span><\/p>\n<h2><a href=\"https:\/\/rabsana.ir\/tutorials\/cypress-framework-tutorial\/\"><b>\u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 cypress \u0686\u06cc\u0633\u062a\u061f<\/b><\/a><\/h2>\n<p><span style=\"font-weight: 400\">\u06cc\u06a9 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0627\u0633\u062a \u06a9\u0647 \u0628\u0631 \u0631\u0648\u06cc Mocha \u0633\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u06cc\u06a9 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u063a\u0646\u06cc \u0627\u0632 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u06a9\u0647 \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631 \u0627\u062c\u0631\u0627 \u0645\u06cc \u0634\u0648\u062f \u0648 \u0622\u0632\u0645\u0627\u06cc\u0634 \u0647\u0627\u06cc \u0646\u0627\u0647\u0645\u0632\u0645\u0627\u0646 \u0631\u0627 \u0633\u0627\u062f\u0647 \u0648 \u0631\u0627\u062d\u062a \u0645\u06cc \u06a9\u0646\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646\u060c \u0627\u0632 \u06cc\u06a9 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 BDD\/TDD \u0648 \u06cc\u06a9 \u0645\u0631\u0648\u0631\u06af\u0631 \u0628\u0631\u0627\u06cc \u062c\u0641\u062a \u0634\u062f\u0646 \u0628\u0627 \u0647\u0631 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u062a\u0633\u062a \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f.<\/span><\/p>\n<hr \/>\n<h2><b>Cucumber \u0686\u06cc\u0633\u062a\u061f<\/b><\/h2>\n<p><span style=\"font-weight: 400\">Cucumber\u060c \u0627\u0628\u0632\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u062a\u0648\u0633\u0639\u0647 \u0631\u0641\u062a\u0627\u0631 \u0645\u062d\u0648\u0631 (BDD) \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f. \u06a9\u0647 \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0622\u0632\u0645\u0648\u0646 \u0647\u0627\u06cc \u067e\u0630\u06cc\u0631\u0634 \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062f\u0631 \u0642\u0627\u0644\u0628 BDD \u0631\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc \u06a9\u0646\u062f. Cucumber\u060c \u062f\u0631 \u0627\u0635\u0644 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc Ruby \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u0648 \u0631\u0627\u0647\u06cc \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u062a\u0633\u062a \u0647\u0627\u06cc\u06cc \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0647\u0631 \u06a9\u0633\u06cc \u0635\u0631\u0641 \u0646\u0638\u0631 \u0627\u0632 \u062f\u0627\u0646\u0634 \u0641\u0646\u06cc \u062e\u0648\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631\u06a9 \u06a9\u0646\u062f. Cucumber\u060c \u0645\u0631\u0627\u062d\u0644 \u0622\u0632\u0645\u0627\u06cc\u0634 \u0648 \u0631\u0641\u062a\u0627\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0627\u0646\u06af\u0644\u06cc\u0633\u06cc \u0633\u0627\u062f\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0632\u0628\u0627\u0646 Gherkin \u062a\u0648\u0636\u06cc\u062d \u0645\u06cc \u062f\u0647\u062f.<\/span><\/p>\n<h2><b>\u0686\u0631\u0627 \u0627\u0632 Cucumber \u0628\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u061f<\/b><\/h2>\n<p><strong>Cucumber \u0628\u0647 \u062f\u0644\u0627\u06cc\u0644 \u0632\u06cc\u0631 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0627\u0628\u0632\u0627\u0631 \u0622\u0632\u0645\u0627\u06cc\u0634 \u0645\u0647\u0645 \u062a\u0644\u0642\u06cc \u0645\u06cc \u0634\u0648\u062f:<\/strong><\/p>\n<h5><b>&#8211; Cucumber \u0645\u0646\u0628\u0639 \u0628\u0627\u0632 \u0627\u0633\u062a \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u0646\u06cc\u0632 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0627\u0633\u062a.<\/b><\/h5>\n<h5><b>&#8211; \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cucumber\u060c \u0645\u06cc \u062a\u0648\u0627\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0686\u0646\u062f\u06cc\u0646 \u0632\u0628\u0627\u0646 \u0645\u0627\u0646\u0646\u062f \u062c\u0627\u0648\u0627\u060c \u0631\u0648\u0628\u06cc\u060c.net \u060c \u067e\u0627\u06cc\u062a\u0648\u0646 \u0648 \u063a\u06cc\u0631\u0647 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f.<\/b><\/h5>\n<h5><b>&#8211; \u0628\u0627 \u0633\u0644\u0646\u06cc\u0648\u0645\u060c Watir\u060c Cypress \u060c Ruby in Rails \u0648 \u0633\u0627\u06cc\u0631 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u062a\u0633\u062a \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0627\u062f\u063a\u0627\u0645 \u0645\u06cc \u0634\u0648\u062f.<\/b><\/h5>\n<h5><b>&#8211; Cucumber\u060c \u06cc\u06a9\u06cc \u0627\u0632 \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc BDD \u0627\u0633\u062a.<\/b><\/h5>\n<h2><b>\u0645\u0631\u0648\u0631\u06cc \u0628\u0631 \u062a\u0648\u0633\u0639\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0631\u0641\u062a\u0627\u0631:<\/b><\/h2>\n<p><strong>\u062a\u0648\u0633\u0639\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0631\u0641\u062a\u0627\u0631 BDD \u06cc\u06a9 \u062a\u06a9\u0646\u06cc\u06a9 \u062a\u0648\u0633\u0639\u0647 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 TDD(Test Driven Development) \u0645\u0646\u0634\u0639\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0639\u0645\u0644\u06cc\u0627\u062a\u06cc \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u06a9\u062f \u062c\u062f\u06cc\u062f\u06cc \u0631\u0627 \u0641\u0642\u0637 \u062f\u0631 \u0635\u0648\u0631\u062a \u0639\u062f\u0645 \u0645\u0648\u0641\u0642\u06cc\u062a \u0645\u0648\u0631\u062f \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631 \u0645\u06cc \u0646\u0648\u06cc\u0633\u0646\u062f.<\/strong><\/p>\n<p><span style=\"font-weight: 400\">&#8211;\u00a0 \u0627\u06cc\u0646 \u0631\u0648\u06cc\u06a9\u0631\u062f \u0634\u0627\u0645\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0645\u0634\u062a\u0631\u06a9 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u06cc\u0646 \u062a\u06cc\u0645 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0641\u0646\u0627\u0648\u0631\u06cc \u0648 \u063a\u06cc\u0631\u0641\u0646\u0627\u0648\u0631\u06cc \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; \u0622\u0632\u0645\u0627\u06cc\u0634\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u0628\u0631 \u06a9\u0627\u0631\u0628\u0631 \u0645\u062a\u0645\u0631\u06a9\u0632 \u0627\u0633\u062a \u0648 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0631\u0641\u062a\u0627\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0633\u062a.<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; \u062f\u0631 BDD\u060c Given-When-Then \u0631\u0648\u0634 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u0645\u0648\u0631\u062f \u0622\u0632\u0645\u0648\u0646 \u0627\u0633\u062a.<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; \u062a\u0645\u0631\u06a9\u0632 \u0628\u0631 \u062a\u0639\u0631\u06cc\u0641 \u0627\u0639\u0636\u0627\u06cc \u062a\u06cc\u0645 \u0647\u0627\u06cc \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0686\u0646\u062f \u0645\u0646\u0638\u0648\u0631\u0647 \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0632\u0628\u0627\u0646 \u063a\u06cc\u0631 \u0641\u0646\u06cc \u0628\u0647 \u0645\u062e\u0627\u0637\u0628\u0627\u0646 \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u067e\u06cc\u062f\u0627 \u0645\u06cc \u06a9\u0646\u062f.<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; \u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f<\/span><\/p>\n<h4><b>\u0646\u062d\u0648\u0647 \u0627\u062f\u063a\u0627\u0645 Cypress \u0648 Cucumber<\/b><\/h4>\n<p><span style=\"font-weight: 400\">\u0627\u0628\u062a\u062f\u0627 \u0628\u0627 \u0646\u0635\u0628 \u067e\u06cc\u0634 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 Cucumber \u0648 Cypress \u0634\u0631\u0648\u0639 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/span><\/p>\n<h4><b>\u0645\u0631\u062d\u0644\u06471: Cypress \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/b><\/h4>\n<p><span style=\"font-weight: 400\">\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0645\u062d\u0644\u06cc Cypress \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u0633\u067e\u0633\u060c Npm\u060c Cypress \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f.(<\/span> <span style=\"font-weight: 400\">npm install cypress)<\/span><\/p>\n<h4><b>\u0645\u0631\u062d\u0644\u06472: Cucumber \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f<\/b><\/h4>\n<p><span style=\"font-weight: 400\">\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u067e\u06a9\u06cc\u062c Cucumber for Cypress \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/span><\/p>\n<p><span style=\"font-weight: 400\">pm install \u2013save-dev cypress-cucumber-preprocessor\u00a0<\/span><\/p>\n<h4><b>\u0645\u0631\u062d\u0644\u06473: \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc(Config) \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0645\u062d\u06cc\u0637 Cypress \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f<\/b><\/h4>\n<p>&nbsp;<\/p>\n<p style=\"direction: rtl\"><strong>\u067e\u0644\u0627\u06af\u06cc\u0646\/ \u0641\u0627\u06cc\u0644 Index.JS \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/strong><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">const cucumber = require(&#8216;cypress-cucumber-preprocessor&#8217;).default\u00a0<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">module.exports = (on, config) =&gt; {<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0on(&#8216;file:preprocessor&#8217;, cucumber())<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">}<\/span><\/p>\n<hr \/>\n<p><strong>\u062f\u0627\u062e\u0644 \u0641\u0627\u06cc\u0644 package.json \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f<\/strong><\/p>\n<hr \/>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">&#8220;cypress-cucumber-preprocessor&#8221;<\/span><span style=\"font-weight: 400\">:<\/span> <span style=\"font-weight: 400\">{<\/span><span style=\"font-weight: 400\">&#8220;nonGlobalStepDefinitions&#8221;<\/span><span style=\"font-weight: 400\">:<\/span> <span style=\"font-weight: 400\">true<\/span><\/p>\n<hr \/>\n<p><strong>\u062f\u0631 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u067e\u0633\u0648\u0646\u062f \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u0645\u0634\u062e\u0635\u0627\u062a \u062f\u0631 \u0641\u0627\u06cc\u0644 Cypress.json\u060c \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0646\u0638\u0631 \u0645\u06cc\u06af\u06cc\u0631\u06cc\u062f:<\/strong><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">{<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><span style=\"font-weight: 400\">&#8220;testFiles&#8221;<\/span><span style=\"font-weight: 400\">:<\/span> <span style=\"font-weight: 400\">&#8220;**\/*.feature&#8221;<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">}<\/span><\/p>\n<hr \/>\n<h5><b>\u062a\u0633\u062a \u0647\u0627 \u0631\u0627 \u0628\u0627 cypress \u0648 cucumber \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f<\/b><\/h5>\n<p><strong>\u0627\u0628\u062a\u062f\u0627 \u0627\u06cc\u0646 \u062a\u0633\u062a \u0631\u0627 \u0641\u0642\u0637 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f:<\/strong><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">cy<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">visit<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;\/login&#8217;<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">findByPlaceholder<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">\/email\/<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">type<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">xyz@gmail<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">com<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.findByPlaceholder(\/password\/)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.type(&#8216;<\/span><span style=\"font-weight: 400\">my<\/span><span style=\"font-weight: 400\"> password<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.findByText(&#8216;<\/span><span style=\"font-weight: 400\">Log<\/span> <span style=\"font-weight: 400\">in<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.click()<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.url()<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.should(&#8216;<\/span><span style=\"font-weight: 400\">eq<\/span><span style=\"font-weight: 400\">&#8216;, &#8216;<\/span><span style=\"font-weight: 400\">\/<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.window().its(&#8216;<\/span><span style=\"font-weight: 400\">localStorage<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">email<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.should(&#8216;<\/span><span style=\"font-weight: 400\">eq<\/span><span style=\"font-weight: 400\">&#8216;, &#8216;<\/span><a href=\"mailto:xyz@gmail.com\"><span style=\"font-weight: 400\">xyz@gmail<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">com<\/span><\/a><span style=\"font-weight: 400\">)<\/span><\/p>\n<p><strong>\u0627\u06cc\u0646 \u062a\u0633\u062a \u0628\u0647 \u0645\u0633\u06cc\u0631 login\/( \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 baseUrl \u062f\u0631 Cypress.json \u0645\u0634\u062e\u0635 \u0634\u062f\u0647) \u062d\u0631\u06a9\u062a \u0645\u06cc \u06a9\u0646\u062f\u060c \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0648 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0647 \u0648 \u062f\u06a9\u0645\u0647 \u00ab\u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645(Log In)\u00bb \u0631\u0627 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f.<\/strong><\/p>\n<hr \/>\n<p><strong>\u062f\u0631 cypress\u060c \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0686\u0646\u062f\u06cc\u0646 \u0641\u0631\u0645\u0627\u0646 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 \u0633\u0641\u0627\u0631\u0634\u06cc \u0648\u0627\u062d\u062f \u0628\u0627 \u0627\u06cc\u062c\u0627\u062f \u0641\u0627\u06cc\u0644\u06cc \u0628\u0647 \u0646\u0627\u0645 cypress\/support\/commands.js \u06af\u0631\u0648\u0647 \u0628\u0646\u062f\u06cc \u06a9\u0631\u062f\u0647 \u0648 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u0646\u062f:<\/strong><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">Cypress<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">Commands<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">add<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;loginWith&#8217;<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">({<\/span><span style=\"font-weight: 400\"> email<\/span><span style=\"font-weight: 400\">,<\/span><span style=\"font-weight: 400\"> password <\/span><span style=\"font-weight: 400\">})<\/span> <span style=\"font-weight: 400\">=&gt;<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0cy<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">visit<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;\/login&#8217;<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">findByPlaceholderText<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">\/email\/<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">type<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">email<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">findByPlaceholderText<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">\/password\/<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">type<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">password<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">findByText<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;Log in&#8217;<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">click<\/span><span style=\"font-weight: 400\">()<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">Cypress<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">Commands<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">add<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;loginWith&#8217;<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">({<\/span><span style=\"font-weight: 400\"> email<\/span><span style=\"font-weight: 400\">,<\/span><span style=\"font-weight: 400\"> password <\/span><span style=\"font-weight: 400\">})<\/span> <span style=\"font-weight: 400\">=&gt;<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0cy<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">visit<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;\/login&#8217;<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">findByPlaceholderText<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">\/email\/<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">type<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">email<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">findByPlaceholderText<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">\/password\/<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">type<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">password<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">findByText<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;Log in&#8217;<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">click<\/span><span style=\"font-weight: 400\">()<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">)<\/span><\/p>\n<hr \/>\n<p><strong>\u0648 \u0633\u067e\u0633 cypress\/support\/index.js \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0647 \u0648 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/strong><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">import<\/span> <span style=\"font-weight: 400\">&#8216;.\/commands&#8217;<\/span><\/p>\n<hr \/>\n<h5><strong>\u0627\u06a9\u0646\u0648\u0646 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0633\u0641\u0627\u0631\u0634\u06cc \u062f\u0631 \u062a\u0633\u062a \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/strong><\/h5>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">cy<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">loginWith<\/span><span style=\"font-weight: 400\">({<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0email<\/span><span style=\"font-weight: 400\">:<\/span><span style=\"font-weight: 400\"> xyz@gmail<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">com<\/span><span style=\"font-weight: 400\">&#8216;,<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0password: &#8216;<\/span><span style=\"font-weight: 400\">mypassword<\/span><span style=\"font-weight: 400\">&#8216;<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">})<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.url()<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.should(&#8216;<\/span><span style=\"font-weight: 400\">eq<\/span><span style=\"font-weight: 400\">&#8216;, &#8216;<\/span><span style=\"font-weight: 400\">\/<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.window().its(&#8216;<\/span><span style=\"font-weight: 400\">localStorage<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">email<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0.should(&#8216;<\/span><span style=\"font-weight: 400\">eq<\/span><span style=\"font-weight: 400\">&#8216;, &#8216;<\/span><span style=\"font-weight: 400\">xyz@gmail<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">com<\/span><span style=\"font-weight: 400\">&#8216;)<\/span><\/p>\n<hr \/>\n<p><strong>\u06a9\u062f \u0628\u0627\u0644\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress \u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u06a9\u0646\u0648\u0646\u060c \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Gherkin for cucumber\u060c \u06a9\u062f \u0622\u0646 \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0627\u0633\u062a:<\/strong><\/p>\n<p><strong>\u0627\u0628\u062a\u062f\u0627 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 cypress\/integration\/login.feature \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/strong><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">Feature<\/span><span style=\"font-weight: 400\">:<\/span> <span style=\"font-weight: 400\">Login<\/span> <span style=\"font-weight: 400\">App<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">Scenario<\/span><span style=\"font-weight: 400\">:<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><span style=\"font-weight: 400\">When<\/span><span style=\"font-weight: 400\"> I log <\/span><span style=\"font-weight: 400\">in<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><span style=\"font-weight: 400\">Then<\/span><span style=\"font-weight: 400\"> the url <\/span><span style=\"font-weight: 400\">is<\/span> <span style=\"font-weight: 400\">\/<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><span style=\"font-weight: 400\">And<\/span><span style=\"font-weight: 400\"> I<\/span><span style=\"font-weight: 400\">&#8216;m logged in<\/span><\/p>\n<hr \/>\n<p><strong>\u0627\u06cc\u0646 \u0622\u0632\u0645\u0648\u0646 \u0634\u0627\u0645\u0644 \u06cc\u06a9 \u0633\u0646\u0627\u0631\u06cc\u0648\u06cc 3 \u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0627\u0633\u062a: \u00ab\u0645\u0646 \u0648\u0627\u0631\u062f \u0633\u06cc\u0633\u062a\u0645 \u0645\u06cc \u0634\u0648\u0645\u00bb\u060c \u00ab\u0622\u062f\u0631\u0633 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a\u06cc{\u00a0 }\u00bb \u0648 \u00ab\u0645\u0646 \u0648\u0627\u0631\u062f \u0633\u06cc\u0633\u062a\u0645 \u0634\u062f\u0647\u200c\u0627\u0645\u00bb \u0627\u0633\u062a. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062a\u0639\u0631\u06cc\u0641 \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u0633\u0646\u0627\u0631\u06cc\u0648\u06cc 3\u0645\u0631\u062d\u0644\u0647\u200c\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f. \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062f\u0631 \u062f\u0627\u062e\u0644 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 features \u0627\u06cc\u062c\u0627 \u06a9\u0646\u06cc\u062f(login\/login.js) \u0648 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f:<\/strong><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">import<\/span> <span style=\"font-weight: 400\">{<\/span> <span style=\"font-weight: 400\">When<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">Then<\/span> <span style=\"font-weight: 400\">}<\/span> <span style=\"font-weight: 400\">from<\/span> <span style=\"font-weight: 400\">&#8216;cypress-cucumber-preprocessor\/steps&#8217;<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">When<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;I login&#8217;<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">()<\/span> <span style=\"font-weight: 400\">=&gt;<\/span> <span style=\"font-weight: 400\">{<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0cy<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">loginWith<\/span><span style=\"font-weight: 400\">({<\/span><span style=\"font-weight: 400\"> email<\/span><span style=\"font-weight: 400\">:<\/span> <span style=\"font-weight: 400\">&#8216;xyz@gmail.com&#8217;<\/span><span style=\"font-weight: 400\">,<\/span><span style=\"font-weight: 400\"> password<\/span><span style=\"font-weight: 400\">:<\/span> <span style=\"font-weight: 400\">&#8216;my password&#8217;<\/span><span style=\"font-weight: 400\">})<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">})<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">Then<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;the url is {word}&#8217;<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">url<\/span><span style=\"font-weight: 400\">)<\/span> <span style=\"font-weight: 400\">=&gt;<\/span> <span style=\"font-weight: 400\">{<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0cy<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">url<\/span><span style=\"font-weight: 400\">()<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">should<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;eq&#8217;<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">`${Cypress.config().baseUrl}${url}`<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">})<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">Then<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;I\\&#8217;m logged&#8217;<\/span> <span style=\"font-weight: 400\">in<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">()<\/span> <span style=\"font-weight: 400\">=&gt;<\/span> <span style=\"font-weight: 400\">{<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0cy<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">window<\/span><span style=\"font-weight: 400\">().<\/span><span style=\"font-weight: 400\">its<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;localStorage.email&#8217;<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\">should<\/span><span style=\"font-weight: 400\">(<\/span><span style=\"font-weight: 400\">&#8216;eq&#8217;<\/span><span style=\"font-weight: 400\">,<\/span> <span style=\"font-weight: 400\">&#8216;xyz@gmail.com&#8217;<\/span><span style=\"font-weight: 400\">)<\/span><\/p>\n<p style=\"direction: ltr\"><span style=\"font-weight: 400\">})<\/span><\/p>\n<hr \/>\n<p><strong>\u067e\u0633 \u0627\u0632 \u0627\u062c\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u062f\u060c Cucumber \u0622\u0646 \u0631\u0627 \u0628\u0647 \u062f\u0633\u062a\u0648\u0631\u0627\u062a Cypress \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u06a9\u0646\u062f.<\/strong><\/p>\n<p><span style=\"font-weight: 400\">\u0628\u0647 \u062e\u0627\u0637\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u0632\u0645\u0627\u06cc\u0634 cypress \u0628\u0631\u0627\u06cc \u0646\u062a\u0627\u06cc\u062c \u062f\u0642\u06cc\u0642 \u0628\u0627\u06cc\u062f \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631 \u0648\u0627\u0642\u0639\u06cc \u0627\u062c\u0631\u0627 \u0634\u0648\u062f. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 BrowserStack\u060c \u0622\u0632\u0645\u0627\u06cc\u0634\u0627\u062a \u0631\u0627 \u0631\u0648\u06cc 30 \u0646\u0633\u062e\u0647 \u0627\u0632 \u0622\u062e\u0631\u06cc\u0646 \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627 \u062f\u0631 Windows \u0648 macOS \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f. \u0627\u0632 \u0645\u0648\u0627\u0632\u06cc \u0633\u0627\u0632\u06cc \u0641\u0648\u0631\u06cc \u0648 \u0628\u062f\u0648\u0646 \u062f\u0631\u062f\u0633\u0631 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u06cc\u0627\u0628\u06cc \u0628\u0647 \u0646\u062a\u0627\u06cc\u062c \u0633\u0631\u06cc\u0639\u062a\u0631 \u0628\u062f\u0648\u0646 \u0628\u0647 \u062e\u0637\u0631 \u0627\u0641\u062a\u0627\u062f\u0646 \u062f\u0642\u062a \u062a\u0633\u062a\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0628\u0627 \u062a\u0633\u062a \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u062f\u0631 \u0634\u0631\u0627\u06cc\u0637 \u0648\u0627\u0642\u0639\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0628\u0627 BrowserStack\u060c \u0627\u0634\u06a9\u0627\u0644\u0627\u062a \u0648 \u0627\u06cc\u0631\u0627\u062f\u0627\u062a \u0631\u0627 \u0642\u0628\u0644 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062a\u0634\u062e\u06cc\u0635 \u062f\u0647\u06cc\u062f.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cypress\u060c \u06cc\u06a9 \u0641\u0631\u06cc\u0645 \u0648\u0631\u06a9 \u0627\u062a\u0648\u0645\u0627\u0633\u06cc\u0648\u0646 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u0642\u0627\u0628\u0644\u06cc\u062a \u0647\u0627\u06cc\u06cc \u062c\u0647\u062a \u0627\u06cc\u062c\u0627\u062f \u0633\u0631\u06cc\u0639 \u0633\u0646\u0627\u0631\u06cc\u0648\u0647\u0627\u06cc \u062a\u0633\u062a \u0642\u0648\u06cc \u0627\u0633\u062a. Cucumber\u060c \u06cc\u06a9 \u0631\u0648\u06cc\u06a9\u0631\u062f\/ \u0627\u0628\u0632\u0627\u0631 \u0627\u0632\u0645\u0627\u06cc\u0634\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u062a\u0648\u0633\u0639\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0631\u0641\u062a\u0627\u0631 (BDD) \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u0631\u0627\u0647\u06cc \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u062a\u0633\u062a \u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631\u06a9\u0633\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0635\u0631\u0641 \u0646\u0638\u0631 \u0627\u0632 \u0645\u06cc\u0632\u0627\u0646 \u062f\u0627\u0646\u0634 \u0641\u0646\u06cc \u062e\u0648\u062f\u060c \u0622\u0646 \u0631\u0627 \u062f\u0631\u06a9 &hellip;<\/p>\n","protected":false},"author":5,"featured_media":3178,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[73],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.4 (Yoast SEO v18.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber | \u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 - \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627<\/title>\n<meta name=\"description\" content=\"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress\u0648 cucumber\u060c \u0631\u0648\u0634 \u0647\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632Cucumber\u060c \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 cucumber\u0648 cypress\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber\" \/>\n<meta property=\"og:description\" content=\"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress\u0648 cucumber\u060c \u0631\u0648\u0634 \u0647\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632Cucumber\u060c \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 cucumber\u0648 cypress\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-03T08:30:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-02T12:28:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0633\u06cc\u0646\u0627 \u0634\u062c\u0639\u0627\u0646\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\",\"name\":\"bagher rezvan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g\",\"caption\":\"bagher rezvan\"},\"logo\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#website\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"description\":\"\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u062e\u0635\u0635\u06cc \u0634\u0631\u06a9\u062a \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"publisher\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rabsana.ir\/tutorials\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp\",\"contentUrl\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp\",\"width\":680,\"height\":320,\"caption\":\"\u062a\u0633\u062a Cypress \u0648 Cucumber\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#webpage\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/\",\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber | \u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 - \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"isPartOf\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#primaryimage\"},\"datePublished\":\"2021-10-03T08:30:34+00:00\",\"dateModified\":\"2021-10-02T12:28:42+00:00\",\"description\":\"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress\u0648 cucumber\u060c \u0631\u0648\u0634 \u0647\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632Cucumber\u060c \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 cucumber\u0648 cypress\",\"breadcrumb\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\/\/rabsana.ir\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#webpage\"},\"author\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/7d71d62194d2ddcc7ebea10008921623\"},\"headline\":\"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber\",\"datePublished\":\"2021-10-03T08:30:34+00:00\",\"dateModified\":\"2021-10-02T12:28:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#webpage\"},\"wordCount\":306,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\"},\"image\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp\",\"articleSection\":[\"\u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/7d71d62194d2ddcc7ebea10008921623\",\"name\":\"\u0633\u06cc\u0646\u0627 \u0634\u062c\u0639\u0627\u0646\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/78c9c1e7a0ee35e6d9a3b0f49184483b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/78c9c1e7a0ee35e6d9a3b0f49184483b?s=96&d=mm&r=g\",\"caption\":\"\u0633\u06cc\u0646\u0627 \u0634\u062c\u0639\u0627\u0646\"},\"url\":\"https:\/\/rabsana.ir\/tutorials\/author\/sinash\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber | \u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 - \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","description":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress\u0648 cucumber\u060c \u0631\u0648\u0634 \u0647\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632Cucumber\u060c \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 cucumber\u0648 cypress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber","og_description":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress\u0648 cucumber\u060c \u0631\u0648\u0634 \u0647\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632Cucumber\u060c \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 cucumber\u0648 cypress","og_url":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/","og_site_name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","article_published_time":"2021-10-03T08:30:34+00:00","article_modified_time":"2021-10-02T12:28:42+00:00","twitter_card":"summary_large_image","twitter_image":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0633\u06cc\u0646\u0627 \u0634\u062c\u0639\u0627\u0646","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"5 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b","name":"bagher rezvan","image":{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo","inLanguage":"fa-IR","url":"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g","caption":"bagher rezvan"},"logo":{"@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo"}},{"@type":"WebSite","@id":"https:\/\/rabsana.ir\/tutorials\/#website","url":"https:\/\/rabsana.ir\/tutorials\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","description":"\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u062e\u0635\u0635\u06cc \u0634\u0631\u06a9\u062a \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627\u0628\u0633\u0627\u0646\u0627","publisher":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rabsana.ir\/tutorials\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#primaryimage","inLanguage":"fa-IR","url":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp","contentUrl":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp","width":680,"height":320,"caption":"\u062a\u0633\u062a Cypress \u0648 Cucumber"},{"@type":"WebPage","@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#webpage","url":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/","name":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber | \u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 - \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","isPartOf":{"@id":"https:\/\/rabsana.ir\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#primaryimage"},"datePublished":"2021-10-03T08:30:34+00:00","dateModified":"2021-10-02T12:28:42+00:00","description":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 Cypress\u0648 cucumber\u060c \u0631\u0648\u0634 \u0647\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u062a\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632Cucumber\u060c \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 cucumber\u0648 cypress","breadcrumb":{"@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/rabsana.ir\/tutorials\/"},{"@type":"ListItem","position":2,"name":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber"}]},{"@type":"Article","@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#article","isPartOf":{"@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#webpage"},"author":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/7d71d62194d2ddcc7ebea10008921623"},"headline":"\u0646\u062d\u0648\u0647 \u0627\u062c\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0627 Cypress \u0648 Cucumber","datePublished":"2021-10-03T08:30:34+00:00","dateModified":"2021-10-02T12:28:42+00:00","mainEntityOfPage":{"@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#webpage"},"wordCount":306,"commentCount":0,"publisher":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b"},"image":{"@id":"https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#primaryimage"},"thumbnailUrl":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/10\/cypress-vs-cucumber.webp","articleSection":["\u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rabsana.ir\/tutorials\/how-to-run-cypress-cucumber-test\/#respond"]}]},{"@type":"Person","@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/7d71d62194d2ddcc7ebea10008921623","name":"\u0633\u06cc\u0646\u0627 \u0634\u062c\u0639\u0627\u0646","image":{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo","inLanguage":"fa-IR","url":"https:\/\/secure.gravatar.com\/avatar\/78c9c1e7a0ee35e6d9a3b0f49184483b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/78c9c1e7a0ee35e6d9a3b0f49184483b?s=96&d=mm&r=g","caption":"\u0633\u06cc\u0646\u0627 \u0634\u062c\u0639\u0627\u0646"},"url":"https:\/\/rabsana.ir\/tutorials\/author\/sinash\/"}]}},"_links":{"self":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/3177"}],"collection":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/comments?post=3177"}],"version-history":[{"count":4,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/3177\/revisions"}],"predecessor-version":[{"id":3180,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/3177\/revisions\/3180"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/media\/3178"}],"wp:attachment":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/media?parent=3177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/categories?post=3177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/tags?post=3177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}