You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checks that the BCC field of $email does not contain $expected
169
169
170
170
Warning: it is possible for an email to have its BCC field empty, it doesn't mean that another instance of the same email doesn't exist.
171
+
```
172
+
seeInOpenedEmailPriority($expected)
173
+
```
174
+
Checks that the priority of the opened email is $expected
175
+
```
176
+
dontSeeInOpenedEmailPriority($expected)
177
+
```
178
+
Checks that the priority of the opened email is not $expected
179
+
```
180
+
seeInEmailPriority($email, $expected)
181
+
```
182
+
Checks that the priority of $email is $expected
183
+
```
184
+
dontSeeInEmailPriority($email, $expected)
185
+
```
186
+
Checks that the priority of $email is not $expected
171
187
172
188
### Developing For New Testing Services
173
189
A base trait defining the interface the test methods require is available in `\Codeception\Email\EmailServiceProvider`. All of these methods need to be overloaded in a new Service Provider. They are protected as they are only used by the testing layer, not by the user himself.
@@ -211,22 +227,6 @@ Returns the string containing the persons included in the BCC field
211
227
getEmailRecipients($email)
212
228
```
213
229
Returns the string containing all of the recipients, such as To, CC and if provided BCC
214
-
```
215
-
seeInOpenedEmailPriority($expected)
216
-
```
217
-
Checks that the priority of the opened email is $expected
218
-
```
219
-
dontSeeInOpenedEmailPriority($expected)
220
-
```
221
-
Checks that the priority of the opened email is not $expected
222
-
```
223
-
seeInEmailPriority($email, $expected)
224
-
```
225
-
Checks that the priority of $email is $expected
226
-
```
227
-
dontSeeInEmailPriority($email, $expected)
228
-
```
229
-
Checks that the priority of $email is not $expected
230
230
231
231
### To Do
232
232
While this framework should be sufficient for most email testing scenarios, the remaining features need to be implemented
0 commit comments