codeceptjs / codeceptjs/CodeceptJS

"grabCookie" returns not all cookie values.

オープン
#2,694 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
4.2k
フォーク
757
平均マージ
2日 9時間
マージ済み PR(30日)
16

説明

#### What are you trying to achieve?

I try to receive cookies with "grabCookie" method or share it with REST helper by "setSharedCookies" method in purpose to use browser session in REST helper requests.

#### What do you get instead?

It seems to be working properly, but unfortunately returns only a part of values (3 of 15). I also can not react other values when getting single cookie value with "grabCookie" method.

### Details

* CodeceptJS version: 2.6.6
* NodeJS Version: 10.16.3
* Operating System: Windows 10
* testcafe version: 1.8.8
* Configuration file:

```js
setSharedCookies();

exports.config = {
tests: './test/**/*.test1.ts',
output: './output',
helpers: {
TestCafe: {
waitForTimeout: 10000,
getPageTimeout: 10000,
smartWait: 5000,
browser: "chrome",
url: url,
show: true,
restart: true,
},
REST: {
endpoint: url
},
},
multiple: {
basic: {
browsers: [
"chrome",
"firefox",
"ie",
"edge",
"opera",
"safari",
]
}
},
include: {
I: './steps_file.js'
},
bootstrap: null,
mocha: {},
name: 'test-cafe',
plugins: {
retryFailedStep: {
enabled: true
},
screenshotOnFail: {
enabled: true
},
allure: {
outputDir: 'report',
enabled: true
}
}
};
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。